You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, recently I've tried to upload several rois to BL using CLI, however I'm constantly encountering the error during data validation step, which prevents me for doing so. Below I'll describe the way I'm processing and what happens:
I create a folder tmp which contains a subfolder named rois (tmp/rois). Inside rois folder there are several files with binary masks, all in .nii.gz format
On the terminal prompt I receive a following message
__dtv(brainlife/validator-neuro-rois) Brain Life
__dtv(brainlife/validator-neuro-rois)
failed
loading error.log
(node:1954) UnhandledPromiseRejectionWarning: Error: Traceback (most recent call last):
File "/mnt/datalad/upload/5fbf83ed47b8ca08393100cf/5fce6c3ad89d012ca55d0c19/validate.py", line 27, in <module>
roispath=config["rois"]
KeyError: 'rois'
at util.waitForFinish (/usr/lib/node_modules/brainlife/bl-dataset-upload.js:239:43)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:1954) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1954) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I can't figure out why config variable has no field rois, nor what I can do to change that. I've also tried uploading the rois together with associated label.json, but this didn't make a difference.
Thank You very much,
Robert
The text was updated successfully, but these errors were encountered:
Hello, recently I've tried to upload several rois to BL using CLI, however I'm constantly encountering the error during data validation step, which prevents me for doing so. Below I'll describe the way I'm processing and what happens:
rois
(tmp/rois). Insiderois
folder there are several files with binary masks, all in .nii.gz formatconfig
variable has no fieldrois
, nor what I can do to change that. I've also tried uploading the rois together with associatedlabel.json
, but this didn't make a difference.Thank You very much,
Robert
The text was updated successfully, but these errors were encountered: