jbirky / apogee_tools

Modeling tools for SDSS/APOGEE spectra
http://apogee-tools.readthedocs.io/
MIT License
2 stars 3 forks source link

Issue with apogee_data path #1

Closed caganze closed 7 years ago

caganze commented 7 years ago

My computer is formatting the path in a weird way Running ap.download('2M15141711+0044474', type='aspcap')

Returns the following error FileNotFoundError: [Errno 2] No such file or directory: '/Users/caganze/Research/apogee_all/apogee_data/:/allStar-l30e.2.fits'

The colon (:) between my path and the file shouldn't be there

caganze commented 7 years ago

export APOGEE_DATA="/Users/caganze/Research/apogee_all/apogee_data/:${APOGEE_DATA}"

jbirky commented 7 years ago

export APOGEE_DATA=/Users/path_to/apogee_data