amnsbr / cubnm

A toolbox for biophysical network modeling on GPUs
https://cubnm.readthedocs.io
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

[ENH] Command line interface #7

Closed amnsbr closed 4 months ago

amnsbr commented 4 months ago

Currently the toolbox can only be used as a module that can be imported. But some users probably would benefit more from a command line interface. Also this will be a good entry point when we containarize the toolbox. There could be different commands for running one/several specific simulations with defined parameters (e.g. cubnm run), for running a grid search (e.g. cubnm grid) or for running an evolutionary optimization (e.g. cubnm optimize --optimizer CMAES).

amnsbr commented 4 months ago

I'll close this for now since I'm not sure if cubnm run (running a single simulation) will be necessary within the CLI. Homogeneous single simulations can be run through cubnm grid and heterogeneous single simulation can be run through the cubnm module.