Skip to content
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

Validator error in Singularity #51

Open
tsalo opened this issue Jul 27, 2020 · 1 comment
Open

Validator error in Singularity #51

tsalo opened this issue Jul 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tsalo
Copy link
Member

tsalo commented Jul 27, 2020

Traceback:

Traceback (most recent call last):
  File "/opt/conda/envs/neuro/bin/bidsify", line 8, in <module>
    sys.exit(_main())
  File "/opt/conda/envs/neuro/lib/python3.7/site-packages/bidsify/bidsify.py", line 223, in _main
    bidsify_workflow(**kwargs)
  File "/opt/conda/envs/neuro/lib/python3.7/site-packages/bidsify/bidsify.py", line 174, in bidsify_workflow
    run(cmd, env={'TMPDIR': work_dir.name})
  File "/opt/conda/envs/neuro/lib/python3.7/site-packages/bidsify/utils.py", line 36, in run
    raise Exception(f"Non zero return code: {process.returncode}\n"
Exception: Non zero return code: 1
bids-validator /home/data/nbc/Laird_DIVA/temp_dset --ignoreWarnings > /home/data/nbc/Laird_DIVA/work-dir/Blossom-01/validator.txt

b''

The dataset counted as invalid, but that shouldn't be a problem at this stage.

@tsalo tsalo added the bug Something isn't working label Jul 29, 2020
@tsalo
Copy link
Member Author

tsalo commented Jul 29, 2020

The preferred behavior is to not raise an error if the validator fails (meaning dataset is invalid, not validator is broken). It should just write out the relevant file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant