Skip to content

Update io.fits docs to reflect memmap=True default #6497

Closed

Description

@taldcroft

As a spinoff from discussion in #6491, the documentation for io.fits do not make it obvious that the default for memmap is True. The open() docstring just says None (which is more typically the same as False for a bool), and the Getting Started narrative docs don't mention the default True behavior.

Activity

  1. saimn commented on Aug 31, 2017

    @saimn
    Contributor

    Thanks for opening the issue! While looking for other issues I found #4196 which is the same, though the title and description are less clear. I will close the other one.

  2. ayush1999 commented on Oct 16, 2017

    @ayush1999

    @saimn @taldcroft Is this issue still open?

  3. mkenne15 commented on Oct 16, 2017

    @mkenne15

    I believe it still is (the docs don't reflect memmap=True by default). I did try to address this, but am only getting started with editing astropy and ran into issues.

  4. ayush1999 commented on Oct 16, 2017

    @ayush1999

    @mkenne15 Oh. As far I could understand, we need to change the documentation to give the default value of memmap as true, in io.fits files. What am I missing?

  5. mkenne15 commented on Oct 16, 2017

    @mkenne15

    So that's what I tried, but when I went to recompile astropy with the new documentation it kept failing, and I had no idea why.

  6. saimn commented on Oct 16, 2017

    @saimn
    Contributor

    Yes, it is still open. The goal is really to update the documentation (for instance here, and the fits.open docstring), not the default value. This value is obtained from a configuration item; this should also be mentioned in the docs.

  7. sushobhana commented on Jan 14, 2018

    @sushobhana
    Member

    hi @taldcroft ..if anyone is not working i would like to fix this.

  8. leahmfulmer commented on May 1, 2018

    @leahmfulmer

    This seems like it's closed. Can you confirm, @adrn ?

  9. bsipocz commented on May 1, 2018

    @bsipocz
    Member

    @LFulmer - Sadly the docs still doesn't mention the default. However adding that can be a suitable first time PR if you're interested.

  10. leahmfulmer commented on May 1, 2018

    @leahmfulmer

    Yep! I got it.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions