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
We have a dataset that has some garbage files with names like ._IMAT_Flower_Flat_Before_000000.tif. These are possibly caused during an interrupted file copy.
#1878 made the file pattern matching a lot less strict, so we now pick up these files as candidates for the flat and dark. We should probably ignore any file starting with a . as those are very unlikely to be actual valid data files.
Steps To Reproduce
Make a copy of a dataset, eg IMAT00010675
In the Flat_Before make some problem files for f in *.tif ; do touch ._${f} ; done
In MI do Load Dataset
Select the sample from the Tomo directory
Note that ._IMAT_Flower_Flat_Before_000000.tif is picked up as the Flat Before
Load and note the error message
Expected Behaviour
Files starting with a . should not be picked automatically
Summary
We have a dataset that has some garbage files with names like
._IMAT_Flower_Flat_Before_000000.tif
. These are possibly caused during an interrupted file copy.#1878 made the file pattern matching a lot less strict, so we now pick up these files as candidates for the flat and dark. We should probably ignore any file starting with a
.
as those are very unlikely to be actual valid data files.Steps To Reproduce
Make a copy of a dataset, eg IMAT00010675
In the
Flat_Before
make some problem filesfor f in *.tif ; do touch ._${f} ; done
In MI do Load Dataset
Select the sample from the Tomo directory
Note that
._IMAT_Flower_Flat_Before_000000.tif
is picked up as the Flat BeforeLoad and note the error message
Expected Behaviour
Files starting with a
.
should not be picked automaticallyContext
Probably introduced by #1878
The text was updated successfully, but these errors were encountered: