-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for empty IFC in filtering
The ``files_filtered()`` method chokes on a ``'NoneType' object is not subscriptable`` error if the ImageFileCollection is already empty before being asked to filter further. This commit adds a check for empty IFC and simply passes an empty list for the set of files in the collection. modified: CHANGES.rst modified: ccdproc/image_collection.py
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters