svalenti / pessto

pessto pipeline
MIT License
9 stars 6 forks source link

Pipeline version reporting ambiguous #1

Closed genghisken closed 9 years ago

genghisken commented 9 years ago

Typing "PESSTO --version" reports the current pyraf version, not the version of PESSTO pipeline. But "PESSTO --versio" or any short version of the word version reports the correct version of PESSTO pipeline.

Here is the current output example.

kws::rocket { ~ }-> PESSTO --vers
PESSTO 2.2.2
kws::rocket { ~ }-> PESSTO --versi
PESSTO 2.2.2
kws::rocket { ~ }-> PESSTO --versio
PESSTO 2.2.2
kws::rocket { ~ }-> PESSTO --version
2.1.6
kws::rocket { ~ }-> PESSTO -v
pyraf version 2.1.6
pyraf: importing numpy
pyraf: imported numpy
pyraf: importing irafimport
pyraf: imported irafimport
pyraf: setting _pyrafMain
pyraf: setting exit handler
pyraf: finished all work prior to IRAF use
pyraf: initializing IRAF
pyraf: imported iraf
pyraf: initialized IRAF
##############################       PESSTO      ##############################
PESSTO -h  (show the help message)
PESSTOASTRO -h  (show the help message)
PESSTOEFOSC1dSPEC -h  (show the help message)
PESSTOEFOSC2dSPEC -h  (show the help message)
PESSTOEFOSCPHOT -h  (show the help message)
PESSTOFASTSPEC -h  (show the help message)
PESSTOSOFI1dSPEC -h  (show the help message)
PESSTOSOFI2dSPEC -h  (show the help message)
PESSTOSOFIPHOT -h  (show the help message)
PESSTOWISE -h  (show the help message)
############################################################   @stefano
svalenti commented 9 years ago

bug fixed, there were some import not needed, PESSTO --versions was actually not pointing to the version of the ntt pipeline, but to the version of a different module