Closed scottwittenburg closed 3 years ago
@jimklo I copied some other nifti files into a directory structure made to match the one in the csv you shared with me, and I was able to load that dataset into MIQA. Can you give this a try when you get a chance? I think it should fix the problem you are experiencing.
When finding the common part of all the paths in the csv file, we could land in the middle of a directory name, so in that case we need to look backwards to the nearest path separator.
When the csv does not include a 'site' column, we need to use the previous logic for extracting the site name from the nifti path.