-
Notifications
You must be signed in to change notification settings - Fork 27
Command-line invocation as part of a pipeline #312
Copy link
Copy link
Open
Description
I'm working toward the use of HyperCP as part of a RAMSES TriOS pipeline.
I've been locally modifying run_Sample_Data.py for this purpose, which seems to work fine, at least single-threaded with multi-level (L0 to L2).
My natural inclination would be to make a variant of this with command-line arguments.
I initially started to use Main.py's command-line arguments, but notice that there seems to be a mismatch between the actual parameter values passed to the Command object constructor and the formal parameters of Command.__init__ in Main.py.
So, my question is: what approach would you recommend for a command-line invocation of HyperCP? Some options are:
- Start with
run_Sample_Data.py, generalise and add command-line arguments. - Start with the Multi-Level processing option code in the GUI and convert to be command-line.
- Fix any errors in the command-line handling of
Main.py. This may be closely associated with 2.
Option 3 would probably be simplest.
I note also the comment under __main__ in Main.py:
######## This section is not up to date. Scripted calls to Command are preferred. ##########
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels