schorschinho / osprey

All-in-one toolbox for processing of magnetic resonance spectroscopy data.
https://schorschinho.github.io/osprey
MIT License
57 stars 43 forks source link

[BUG] - Osprey crashes for json jobfiles without images - OspreyJob - Helge Zöllner #669

Closed HJZollner closed 11 months ago

HJZollner commented 11 months ago

Describe the bug Osprey crashes if the files_nii field is empty in the json job file because the code is trying to reference to a cell array.

To Reproduce Steps to reproduce the behavior: Run json job with "files_nii": [] entry.

HJZollner commented 11 months ago

Solved in #670