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
Describe the bug
When 'path' is absent from the subject dictionary in the first image of a subject, the entire process fails because subject["1"]["path"][0] is empty.
To Reproduce
Steps to reproduce the behavior:
Put a case where subject["1"]["path"][0] is empty.
Run gandlf_preprocess on it using any config.
See error
Expected behavior
Even if the 'path' is absent, it should get picked up from the 'path_to_metadata' key.
Screenshots
N.A.
GaNDLF Version
0.0.16-dev
Desktop (please complete the following information):
N.A.
Additional context
N.A.
The text was updated successfully, but these errors were encountered:
Describe the bug
When
'path'
is absent from thesubject
dictionary in the first image of a subject, the entire process fails becausesubject["1"]["path"][0]
is empty.To Reproduce
Steps to reproduce the behavior:
subject["1"]["path"][0]
is empty.gandlf_preprocess
on it using any config.Expected behavior
Even if the
'path'
is absent, it should get picked up from the'path_to_metadata'
key.Screenshots
N.A.
GaNDLF Version
0.0.16-dev
Desktop (please complete the following information):
N.A.
Additional context
N.A.
The text was updated successfully, but these errors were encountered: