Baby Language Lab Scripts
A collection of data processing tools.
 All Classes Namespaces Files Functions Variables Pages
acrp_app.py
Go to the documentation of this file.
1 ## @package app.acrp_app
2 
3 from app.app import App
4 #you will need to import the module that contains your custom script below:
5 #from custom_scripts.elizabeth.combine import *
7 
8 ## Handles startup for the custom command line scripts (such as thos contained in the bll_app/custom_scripts/ folder).
9 # Using this class as an entry point for command line scripts gives them access to all of the bll_app classes.
10 # So for example, you can use the TRSParser class in your command line scripts to read TRS files.
11 class AcrpApp(App):
12  def __init__(self):
13  super(AcrpApp, self).__init__(
14  'acrp_app',
15  App.APP_TYPES.CMD_LINE #this will prevent the superclass from starting up PyGTK
16  )
17 
18  ## See superclass description. Calling this will start your command line script (if it contains a method called "run").
19  def start(self):
20  run()