After selecting a folder of .tif images, I received the following error when reading frames:
Error: Reading image with index: 66, Attempt to read image format other than 'tiff', 'tif', '.png', '.jpg' or 'fit', 'fits', continuing with next job
I did an ls -la, Turns out a .DS_Store was also created by MacOS in the same folder. Removing the hidden file resolved the issue.
This error could hinder new users in the usage of this program as most users may not be aware of any other non-visible files within the same directory.
A simple fix could be to ignore all hidden files within the selected folder when determining the file type extension for the selected folder.
Note: Thanks for creating this program. It's really useful as a native stacking application for Mac users.
In the most recent version I uploaded to PyPi (version 0.9.0) I fixed this issue. Now PSS includes only files with a proper picture type (png, tif, jpg, fits). All other files in the directory are ignored.
After selecting a folder of
.tif
images, I received the following error when reading frames:I did an
ls -la
, Turns out a.DS_Store
was also created by MacOS in the same folder. Removing the hidden file resolved the issue.This error could hinder new users in the usage of this program as most users may not be aware of any other non-visible files within the same directory.
A simple fix could be to ignore all hidden files within the selected folder when determining the file type extension for the selected folder.
Note: Thanks for creating this program. It's really useful as a native stacking application for Mac users.