-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
In BuildFileStructure.m, the following line:
fileData = dir([folderPath '*' parameters.requireFlag '*.' parameters.fileExt]);
causes the following errors:
Finding cells in /n/home00/jefworks/MERFISH/MERFISH_analysis/MERFISH_Examples/example_data
Error using dir
Characters adjacent to a ** wildcard must be file separators.
Error in BuildFileStructure (line 97)
fileData = dir([folderPath '*' parameters.requireFlag '*.'
parameters.fileExt]);
Error in BuildImageDataStructures (line 53)
foundFiles = BuildFileStructure(folderPath, 'parameters', parameters);
Error in AnalyzeMERFISH (line 116)
foundFiles = BuildImageDataStructures(dataPath, 'parameters', parameters);
when parameters.requireFlag is empty.
It needs to be modified to something like:
% pseudocode
if(parameters.requireFlag != []):
fileData = dir([folderPath '*' parameters.requireFlag '*.' parameters.fileExt]);
else:
fileData = dir([folderPath '*.' parameters.fileExt]);
Metadata
Metadata
Assignees
Labels
No labels