I was running the pipeline on a set of data, which I added to a list, when I got the error written below. I was able to check the dispersion function interactively for many images, so I don't know what is the matter. I have iraf27 anaconda environment installed on my computer (Ubuntu16.04) and ds9 (installed with anaconda as well). I also tried it on my laptop (Ubuntu18.04) and I had the same error.
Fit dispersion function interactively? (no|yes|NO|YES) ('yes'):
do you like the identification [[y]/n]
Traceback (most recent call last):
File "/home/tem1u17/anaconda3/envs/iraf27/bin/PESSTOEFOSC2dSPEC", line 4, in import('pkg_resources').run_script('ntt==2.3.0', 'PESSTOEFOSC2dSPEC')
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/pkg_resources/init.py", line 664, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/pkg_resources/init.py", line 1444, in run_script
exec(code, namespace, namespace)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/ntt-2.3.0-py2.7.egg/EGG-INFO/scripts/PESSTOEFOSC2dSPEC", line 112, in
listbias, listarc, _cosmic, _verbose)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/ntt-2.3.0-py2.7.egg/ntt/efoscspec2Ddef.py", line 832, in efoscspecreduction
specred = ntt.util.spectraresolution2(arcfile)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/ntt-2.3.0-py2.7.egg/ntt/util.py", line 1153, in spectraresolution2
lines.append(float(string.split(i)[2]))
ValueError: could not convert string to float: INDEF
I was running the pipeline on a set of data, which I added to a list, when I got the error written below. I was able to check the dispersion function interactively for many images, so I don't know what is the matter. I have iraf27 anaconda environment installed on my computer (Ubuntu16.04) and ds9 (installed with anaconda as well). I also tried it on my laptop (Ubuntu18.04) and I had the same error.
Fit dispersion function interactively? (no|yes|NO|YES) ('yes'):
do you like the identification [[y]/n]
Traceback (most recent call last): File "/home/tem1u17/anaconda3/envs/iraf27/bin/PESSTOEFOSC2dSPEC", line 4, in
import('pkg_resources').run_script('ntt==2.3.0', 'PESSTOEFOSC2dSPEC')
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/pkg_resources/init.py", line 664, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/pkg_resources/init.py", line 1444, in run_script
exec(code, namespace, namespace)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/ntt-2.3.0-py2.7.egg/EGG-INFO/scripts/PESSTOEFOSC2dSPEC", line 112, in
listbias, listarc, _cosmic, _verbose)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/ntt-2.3.0-py2.7.egg/ntt/efoscspec2Ddef.py", line 832, in efoscspecreduction
specred = ntt.util.spectraresolution2(arcfile)
File "/home/tem1u17/anaconda3/envs/iraf27/lib/python2.7/site-packages/ntt-2.3.0-py2.7.egg/ntt/util.py", line 1153, in spectraresolution2
lines.append(float(string.split(i)[2]))
ValueError: could not convert string to float: INDEF