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
The mapping file doesn't update once you change the working directory.
To reproduce:
Have two directories, each with its own mapping.csv, images, and masks.
Select the 1st directory and observe that it works as expected (rate 1 image).
Select the 2nd directory (without closing slicer or reloading the extension). Observe that the counter gets reset, but the extension still uses the mapping.csv from the 1st directory (loading back the 1st image from 1st directory).
Additional information:
The new (for the 2nd dir) annotation.csv and log files get created into the new (2nd) directory, suggesting that the self.directory gets updated once we change directories (but perhaps not in the correct order).
My best guess would be either:
due to self.directory, self.mappings, or self.with_mapper_flag not being reset at the onAtlasDirectoryChanged.
or, alternatively, it also might be an issue with the order of the commands involving the function _restore_index. Maybe the unchecked_files get rechecked with the oldmapping.csv against the newannotations.csv.
The text was updated successfully, but these errors were encountered:
The mapping file doesn't update once you change the working directory.
To reproduce:
Additional information:
self.directory
gets updated once we change directories (but perhaps not in the correct order).My best guess would be either:
self.directory
,self.mappings
, orself.with_mapper_flag
not being reset at theonAtlasDirectoryChanged
._restore_index
. Maybe theunchecked_files
get rechecked with the oldmapping.csv
against the newannotations.csv
.The text was updated successfully, but these errors were encountered: