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

Add command to asdftool for removing ASDF extension from FITS file #480

Merged
merged 1 commit into from
Mar 28, 2018

Conversation

drdavella
Copy link
Contributor

@drdavella drdavella commented Mar 27, 2018

Specifically for @hbushouse. Given a file asdf.fits that contains an ASDF extension, here's an example of how to use it:

$ asdftool remove-hdu asdf.fits no_asdf.fits

The file no_asdf.fits will be created (assuming it doesn't already exist) as a duplicate of the input file but without the ASDF extension.

For usage information:

$ asdftool -h
$ asdftool remove-hdu -h

@drdavella drdavella added this to the v2.0.0 milestone Mar 27, 2018
@drdavella drdavella self-assigned this Mar 27, 2018
@stsci-bot
Copy link

stsci-bot bot commented Mar 27, 2018

Hi there @drdavella 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog. I help make 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.

@drdavella drdavella force-pushed the kill-asdf branch 2 times, most recently from 7eb25a5 to 31efb00 Compare March 27, 2018 20:43
@drdavella
Copy link
Contributor Author

This will need to be rebased once #482 is merged.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 94.024% when pulling b106a9e on drdavella:kill-asdf into 40aaea7 on spacetelescope:master.

@drdavella drdavella merged commit 3cec7ff into asdf-format:master Mar 28, 2018
@drdavella drdavella deleted the kill-asdf branch March 28, 2018 17:21
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.

2 participants