Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageFileCollection fails if the fits headers contain the keyword 'FILE' #726

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 14, 2020

  1. ImageFileCollection fails if the headers contain the keyword 'FILE'

    There's an assert statement on line 503:
    assert 'file' not in h
    to catch and raise the problem - but no handling is implemented. 
    If not caught the 'file' value list in the summary dictionary would get a filename appended twice for each image.
    This will cause the generation of the summary_table to fail.
    
    The suggested way to fix this is to remove the header 'FILE' keyword if present.
    This should be okay since it will either be the same as the input filename or likely incorrect - I guess?
    jensjessenhansen authored Jan 14, 2020
    Configuration menu
    Copy the full SHA
    1c4e4cd View commit details
    Browse the repository at this point in the history