CovertLab / wcEcoli

Whole Cell Model of E. coli
Other
18 stars 4 forks source link

Select AnalysisPaths options from the command line for analysis scripts #1221

Open tahorst opened 2 years ago

tahorst commented 2 years ago

Building off of an idea in #1220, it would be nice to be able to select AnaylsisPaths options like successful sims (new CLI option), seed range or generation ranges (can use existing --seed-range or --generation-range options but implement them for variant or cohort analysis) from the command line for the manual analysis scripts or even when building workflows. The AnalysisPaths object could be passed to each analysis script which could then select a further subset like some scripts already do.

The successful sims option should be expanded to allow the choice between only successful sims, sims with data (successful and failed during the generation) and all sim (successful, failed during, and never ran because a previous generation failed).

tahorst commented 2 years ago

After #1250 there are still a few TODOs that could be addressed if desired.