-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Description
If sourceStructure's folderHierarchy is wrongly defined, this gives several warnings and errors but unclear to the user that the sourceStructure was wrong or no files were found. The problem is that it doesn't crash when no files are found, but continues, and crashes with confusing other warnings.
Requirements
Solution is probably to let the import module crash if no files were found, i.e. replacing the warning on xASL_imp_ReadSourceData (line 47) by an error.
How to test
Run ExploreASL('path2datasetRoot',[1 0 0 0], 0); with incorrect sourceStructure or no image data in `/datasetRoot/sourcedata/'.
Release notes
Import module crashes if no files were found.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
