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

NifsMerge crashes when only a single cube to merge is passed in. #19

Open
Nat1405 opened this issue Jun 3, 2020 · 0 comments
Open

NifsMerge crashes when only a single cube to merge is passed in. #19

Nat1405 opened this issue Jun 3, 2020 · 0 comments

Comments

@Nat1405
Copy link
Owner

Nat1405 commented Jun 3, 2020

Relevant log:

==> GN-2015A-Q-6.err <==
Traceback (most recent call last):
  File "/opt/conda/envs/iraf27/bin/runNifty", line 38, in <module>
    nifty.nifsPipeline.start(sys.argv[2:])
  File "/opt/conda/envs/iraf27/lib/python2.7/site-packages/nifty/pipeline/nifsPipeline.py", line 223, in start
    nifsMerge.run()
  File "/opt/conda/envs/iraf27/lib/python2.7/site-packages/nifty/pipeline/steps/nifsMerge.py", line 102, in run
    mergeCubes(scienceDirectoryList, "uncorrected", mergeType, use_pq_offsets, im3dtran, over)
  File "/opt/conda/envs/iraf27/lib/python2.7/site-packages/nifty/pipeline/steps/nifsMerge.py", line 412, in mergeCubes
    iraf.imcombine(prefix+'*', output = 'cube_merged.fits',  combine = mergeType, offsets = 'offsets.txt')
UnboundLocalError: local variable 'prefix' referenced before assignment
Nat1405 added a commit that referenced this issue Jun 3, 2020
Nat1405 added a commit that referenced this issue Jun 3, 2020
Nat1405 added a commit that referenced this issue Jun 3, 2020
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