update isofit dir env reference
@@ -467,7 +467,7 @@ class Pathnames():
self.sixs_path = os.getenv('SIXS_DIR')
if os.getenv('ISOFIT_DIR'):
- self.isofit_path = os.path.dirname(os.getenv('ISOFIT_DIR'))
+ self.isofit_path = os.getenv('ISOFIT_DIR')
else:
# isofit file should live at isofit/isofit/core/isofit.py
self.isofit_path = os.path.dirname(os.path.dirname(os.path.dirname(isofit.__file__)))
