Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
nden committed Aug 20, 2021
1 parent f7e864b commit 7246b23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stcal/ramp_fitting/ramp_fit_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@ def set_meta(self, model):
----------
model : Data model
JWST or ROman Ramp Model
"""
"""
# Get meta information
self.instrument_name = model.meta.instrument.name

self.frame_time = meta.exposure.frame_time
self.group_time = meta.exposure.group_time
self.frame_time = model.meta.exposure.frame_time
self.group_time = model.meta.exposure.group_time
self.groupgap = model.meta.exposure.groupgap
self.nframes = model.meta.exposure.nframes

# May not be available for all pipelines, so is defaulted to NoneType.
if hasattr(model, 'drop_frames1'):
self.drop_frames1 = drop_frames1
self.drop_frames1 = model.exposure.drop_frames1

def set_dqflags(self, dqflags):
"""
Expand Down

0 comments on commit 7246b23

Please sign in to comment.