Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

Newlines silently allowed in card values #51

Closed

Description

@embray

I got an issue report involving header cards that happened to contain newlines in some of the COMMENT and HISTORY cards. PyFITS was able to read the files and display the headers fine, but did not raise any warnings about the illegal values in those cards.

If reading such a file warnings should be raised and the offending newline characters should probably be either stripped or replaced with spaces. Upon assigning such a value to a commentary keyword it might be a nice feature if the value was split into multiple commentary cards at the newlines. Otherwise it should be treated as an invalid value.

Activity

  1. added this to the v3.2.3 milestone on Apr 7, 2014
  2. self-assigned this
    on Apr 7, 2014
  3. added 3 commits that reference this issue on Apr 15, 2014
  4. embray commented on Apr 15, 2014

    @embray
    CollaboratorAuthor

    This is fixed by 7da13ab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions