tessgi / tvguide

A tool for determining whether stars and galaxies are observable by TESS.
MIT License
4 stars 4 forks source link

NameError: global name 'vals' is not defined #10

Open GaelO opened 6 years ago

GaelO commented 6 years ago

Hi,

I got the following error while trying to use tvguide-csv.

NameError: global name 'vals' is not defined

The error is located line 159 of tvguide.py

Do you have any idea as to how to fix it ?

Here's the exact output

tvguide-csv tess.csv Traceback (most recent call last): File "/Users/user/anaconda/bin/tvguide-csv", line 4, in import('pkg_resources').run_script('tvguide==1.0.3', 'tvguide-csv') File "/Users/user/anaconda/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 744, in run_script File "/Users/user/anaconda/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/init.py", line 1506, in run_script File "/Users/user/anaconda/lib/python2.7/site-packages/tvguide-1.0.3-py2.7-macosx-10.7-x86_64.egg/EGG-INFO/scripts/tvguide-csv", line 6, in

File "build/bdist.macosx-10.7-x86_64/egg/tvguide/tvguide.py", line 159, in tvguide_csv NameError: global name 'vals' is not defined

Thanks a lot for your help (: