tom-boyes-park/n-body-modelling

Only validate orbit if supplied

Closed this issue · 0 comments

#22 moved the listing of orbits out of validate_args.

python src/main.py --list-orbits

The above will now always raise error due to:

orbit = args.orbit
if not orbit:
    raise ValueError("Orbit name must be specified")

This should be removed as orbit does not need to be specified.