Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of JPSFLib (PSF reference library management) #234

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ webbpsf_ext>=1.2.0
pyklip>=2.7.1
ipywidgets>=8.1.5
lmfit>1.2.2

tqdm
mocapy @ git+https://github.com/jgagneastro/mocapy.git
1 change: 1 addition & 0 deletions spaceKLIP/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from . import mast
from . import plotting
from . import psf
from . import psflib
from . import pyklippipeline
from . import utils

Expand Down
3 changes: 2 additions & 1 deletion spaceKLIP/mast.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import astropy, astropy.table
from astroquery.mast import Mast
import requests
import tqdm

import logging
log = logging.getLogger(__name__)
Expand Down Expand Up @@ -192,7 +193,7 @@ def query_coron_datasets(inst,

if return_filenames:

if level is not None and level.lower() is not 'cal' and level.lower() is not '2b':
if level is not None and level.lower() != 'cal' and level.lower() != '2b':
# Transform filenames to either rate or uncal files
# This may not be robust to all possible scenarios yet...
if level.lower()=='rate' or level.lower()=='2a':
Expand Down
Loading
Loading