camall3n / onager

Lightweight python library for launching experiments and tuning hyperparameters, either locally or on a cluster
MIT License
20 stars 4 forks source link

'list' subcommand should throw an error when there's no .onager folder #30

Open camall3n opened 4 years ago

camall3n commented 4 years ago

Currently, running onager list in a directory without a .onager folder shows an empty list. This is confusing for users who expect the command to work everywhere. Instead we should tell the user what might have gone wrong: either they are in the wrong subdirectory, or they haven't launched anything yet.