-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error message for bad looper config #515
Comments
Can you also check the messaging for other possible common mistakes, like:
To test these, just mess up the file intentionally and then run |
here's an error I'm getting if the pipeline interface is malformed:
|
Currently if the pipeline interface is malformed or the path doesn't exist looper marks it as so: 1 unique reasons for submission failure: No pipeline interfaces defined
Summary of failures:
No pipeline interfaces defined: frog_1, frog_2
Update: I added some better warnings for the above case and if the path is missing. |
I've added better warnings for certain scenarios regarding looper config, pifaces, and PEPs. |
For the data path, the user will be given info that something is wrong at time of job submission by the invoked pipeline. Some simple examples in the case of a missing or malformed path to data:
sample annotation for reference (where data folder does not exist):
|
I've addressed these items directly by adding better handling with the exception of the missing data path (which is handled by the pipeline in the above examples). I'll mark this as likely solved for now. |
The
looper init
constructed a bad looper config (see #514), which looks like this.When I try to run a looper command, like
looper run
, I would expect it would say something like "Looper config is not formatted correctly" so that I know where to look for the error. Instead, I get this error:The text was updated successfully, but these errors were encountered: