dchaley / deepcell-imaging

Tools & guidance to scale DeepCell imaging on Google Cloud Batch
8 stars 2 forks source link

Generated command-line arguments #300

Closed dchaley closed 1 month ago

dchaley commented 1 month ago

Move all helper/description text into centralized pydantic object models. Then, build the argparse arguments using this data.

This is not only easier to read / more concise, but also, it makes sure that our argument object is exactly the same as passed-in arguments. That helps keep the multi-task batch job the same as single-task jobs.