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

astrocut readthedocs example is incomplete #49

Open
KenMighell opened this issue Jul 30, 2021 · 0 comments
Open

astrocut readthedocs example is incomplete #49

KenMighell opened this issue Jul 30, 2021 · 0 comments

Comments

@KenMighell
Copy link

In the astrocut document

https://astrocut.readthedocs.io/en/latest/astrocut/

the example given in the "Making Image Cube" section is incomplete and thus can not execute.

The line

input_files = glob("data/*ffic.fits")

refers to the data subdirectory which does not exist which causes input_files to be an empty list.

Suggest solution: Test to see if data/*ffic.fits files exist before defining input_files. If no such files exist, then create a small set of *ffic.fits images in a directory called data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant