PyGTK GUI command-line parameters: Difference between revisions

From ASCEND
Jump to navigation Jump to search
Restored page from Google Cache, uploaded by John Pye
 
mNo edit summary
 
Line 1: Line 1:
<div class="notice metadata" id="stub">''This article is a '''stub'''. You can help out by <span class="plainlinks">[http://ascendwiki.cheme.cmu.edu/index.php?title=PyGTK_GUI_command-line_parameters&action=edit expanding it]</span>. ''</div>
{{stub}}


The PyGTK GUI has the following command-line parameters. In particular, note that one can type
The PyGTK GUI has the following command-line parameters. In particular, note that one can type


 
ascend mymodel.a4c
<pre>ascend mymodel.a4c
</pre>


And it will launch your model, even if the model is not in the local directory -- it uses the ASCENDLIBRARY environment variable, or failing that, your <tt>.ascend.ini</tt> settings file, to find the file. And if you have multiple MODELs in your file, try
And it will launch your model, even if the model is not in the local directory -- it uses the ASCENDLIBRARY environment variable, or failing that, your <tt>.ascend.ini</tt> settings file, to find the file. And if you have multiple MODELs in your file, try


<pre>ascend mybigfile.a4c -m mylittlemodel
ascend mybigfile.a4c -m mylittlemodel
</pre>


Full options:
Full options:


<pre>usage: ascend [[-m typename] file]  
usage: ascend [[-m typename] file]
 
 
options:
options:
   --version            show program's version number and exit
   --version            show program's version number and exit
   -h, --help            show this help message and exit
   -h, --help            show this help message and exit
Line 28: Line 25:
   --no-auto-sim        disable auto-instantiation of MODEL named as the file
   --no-auto-sim        disable auto-instantiation of MODEL named as the file
                         stem
                         stem
</pre>


[[Category:Stubs]]
[[Category:Documentation]]
[[Category:Documentation]]

Latest revision as of 02:19, 28 September 2014

The PyGTK GUI has the following command-line parameters. In particular, note that one can type

ascend mymodel.a4c

And it will launch your model, even if the model is not in the local directory -- it uses the ASCENDLIBRARY environment variable, or failing that, your .ascend.ini settings file, to find the file. And if you have multiple MODELs in your file, try

ascend mybigfile.a4c -m mylittlemodel

Full options:

usage: ascend [[-m typename] file]
 
options:
 --version             show program's version number and exit
 -h, --help            show this help message and exit
 -m MODEL, --model=MODEL
                       specify the model to instantiate upon loading modules
 --pygtk-assets=ASSETS_DIR
                       override the configuration value for the location of
                       assets required by PyGTK for the ASCEND GUI, optional
 --library=LIBRARY_PATH
                       override the configuration value for the library path
 --no-auto-sim         disable auto-instantiation of MODEL named as the file
                       stem