Skip to content

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

Merged
saimn merged 2 commits into
astropy:masterfrom
leahmfulmer:lfulmer-docs-update
May 4, 2018
Merged

saimn merged 2 commits into
astropy:masterfrom
leahmfulmer:lfulmer-docs-update

Conversation

@leahmfulmer

@leahmfulmer leahmfulmer commented May 3, 2018 •

Copy link
Copy Markdown

I've added a sentence to the doc string clarifying that memmap=True by default.

edit: Ref #6497

@astropy-bot

astropy-bot Bot commented May 3, 2018 •

Copy link
Copy Markdown

Hi there @LFulmer 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog and making sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

Everything looks good from my point of view! 👍

If there are any issues with this message, please report them here.

@saimn saimn added the io.fits label May 3, 2018
@saimn saimn added this to the v2.0.7 milestone May 3, 2018
Comment thread docs/io/fits/index.rst Outdated
array data of each HDU to be accessed with mmap, rather than being read into
memory all at once. This is particularly useful for working with very large
arrays that cannot fit entirely into physical memory.
arrays that cannot fit entirely into physical memory. Here ``memmap=True`` by defualt, and this value is obtained from a configuration item.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo (defualt). It should also mention the configuration item (astropy.io.fits.Conf.use_memmap).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've cancelled the CI given that there'll be a follow-up commit anyway.

@saimn

saimn commented May 3, 2018

Copy link
Copy Markdown
Contributor

@taldcroft taldcroft changed the title Resolving Issue #6497 Update io.fits docs to reflect memmap=True default May 4, 2018
@taldcroft

Copy link
Copy Markdown
Member

@LFulmer - I've edited the title for your PR. It is best practice to make the PR title itself descriptive so others can recognize if they should have a look. The reference issue number that is being fixed can just be in the description like you have.

@saimn

saimn commented May 4, 2018

Copy link
Copy Markdown
Contributor

Thanks @LFulmer. You could have pushed the docstring change (#7433) on the same branch here, but let's merge this first and discuss the other change there.

@saimn
saimn merged commit a3ece74 into astropy:master May 4, 2018
@leahmfulmer
leahmfulmer deleted the lfulmer-docs-update branch May 10, 2018 21:10
bsipocz pushed a commit that referenced this pull request May 21, 2018
Update `io.fits` docs to reflect `memmap=True` default
bsipocz pushed a commit that referenced this pull request May 21, 2018
Update `io.fits` docs to reflect `memmap=True` default
bsipocz pushed a commit that referenced this pull request May 22, 2018
Update `io.fits` docs to reflect `memmap=True` default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants