Skip to content

Added same note about memmap default to the fits.open docstring. - #7433

Closed
leahmfulmer wants to merge 3 commits into
astropy:masterfrom
leahmfulmer:lfulmer-docs-update-3
Closed

leahmfulmer wants to merge 3 commits into
astropy:masterfrom
leahmfulmer:lfulmer-docs-update-3

Conversation

@leahmfulmer

Copy link
Copy Markdown

Responding to @saimn regarding adding the default information (memmap=True) to fits.open docstring.

@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.

Comment thread astropy/io/fits/hdu/hdulist.py Outdated

memmap : bool, optional
Is memory mapping to be used?
Is memory mapping to be used? ``memmap=True`` by default. This value is obtained from 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.

Nitpick: Please break long line into 2-3 lines (as needed).

p.s. Perhaps this could have been folded in #7432 but this is fine as standalone too.

@weaverba137

Copy link
Copy Markdown
Member

I'm trying to help @LFulmer with this PR. In the branch lfulmer:lfulmer-docs-update-3, the docs/io/fits/index.rst file is identical to the file in astropy:master, yet this PR still shows that there is a difference in docs/io/fits/index.rst.

@pllim

pllim commented May 10, 2018

Copy link
Copy Markdown
Member

Did you try rebase from master?

@weaverba137

Copy link
Copy Markdown
Member

OK, thanks, we'll throw out the branch and start from scratch!

@pllim

pllim commented May 10, 2018

Copy link
Copy Markdown
Member

o_O don't have to be so drastic... try...

git fetch upstream master
git rebase upstream/master

Might need to force push.

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.

3 participants