Skip to content

Commit

Permalink
pep8, make up your mind
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Sep 28, 2023
1 parent 7c2cd66 commit 6fc7ad3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jwql/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@

from jwql.utils import permissions
from jwql.utils.constants import FILE_AC_CAR_ID_LEN, FILE_AC_O_ID_LEN, FILE_ACT_LEN, \
FILE_DATETIME_LEN, FILE_EPOCH_LEN, FILE_GUIDESTAR_ATTMPT_LEN_MIN, \
FILE_GUIDESTAR_ATTMPT_LEN_MAX, FILE_OBS_LEN, FILE_PARALLEL_SEQ_ID_LEN, \
FILE_PROG_ID_LEN, FILE_SEG_LEN, FILE_SOURCE_ID_LEN, FILE_SUFFIX_TYPES, \
FILE_TARG_ID_LEN, FILE_VISIT_GRP_LEN, FILE_VISIT_LEN, FILETYPE_WO_STANDARD_SUFFIX, \
JWST_INSTRUMENT_NAMES_SHORTHAND
FILE_DATETIME_LEN, FILE_EPOCH_LEN, FILE_GUIDESTAR_ATTMPT_LEN_MIN, \
FILE_GUIDESTAR_ATTMPT_LEN_MAX, FILE_OBS_LEN, FILE_PARALLEL_SEQ_ID_LEN, \
FILE_PROG_ID_LEN, FILE_SEG_LEN, FILE_SOURCE_ID_LEN, FILE_SUFFIX_TYPES, \
FILE_TARG_ID_LEN, FILE_VISIT_GRP_LEN, FILE_VISIT_LEN, FILETYPE_WO_STANDARD_SUFFIX, \
JWST_INSTRUMENT_NAMES_SHORTHAND

__location__ = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))

Expand Down Expand Up @@ -158,7 +158,7 @@ def create_png_from_fits(filename, outdir):
plot.ygrid.visible = False

# Create the color mapper that will be used to scale the image
mapper = LogColorMapper(palette='Greys256', low=(img_med - (5 * img_dev)),high=(img_med + (5 * img_dev)))
mapper = LogColorMapper(palette='Greys256', low=(img_med - (5 * img_dev)), high=(img_med + (5 * img_dev)))

# Plot image
imgplot = plot.image(image=[image], x=0, y=0, dw=nx, dh=ny,
Expand Down

0 comments on commit 6fc7ad3

Please sign in to comment.