flatironinstitute / mountainlab-js

MountainLab is data processing, sharing and visualization software for scientists. It is built around MountainSort, spike sorting software, but is designed to be more generally applicable.
Other
43 stars 30 forks source link

ml-spec should return non-zero exit value on non-existent processor error #39

Closed tjd2002 closed 6 years ago

tjd2002 commented 6 years ago

If you run ml-spec foobarbaz, you get an error message ("Processor not found: non-existent-processor"), but the command returns with success (return value =0). It should instead return an error code, like 1. This makes this command less useful in testing I have a fix I'm about to commit.