Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
melanieclarke committed Dec 19, 2024
1 parent 8f2b88d commit 1834ec0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions jwst/pixel_replace/pixel_replace_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,12 @@ def process(self, input):
'n_adjacent_cols': self.n_adjacent_cols,
}

# ___________________________________
# calewbb_spec3 case / ModelContainer
# __________________________________
# calwebb_spec3 case / ModelContainer
if isinstance(input_model, datamodels.ModelContainer):
output_model = input_model

# Setup output path naming if associations are involved, to
# include the ASN ID in the output
# Set up output path name to include the ASN ID
# if associations are involved
asn_id = None
try:
asn_id = input_model.asn_table["asn_id"]
Expand Down Expand Up @@ -116,9 +114,8 @@ def process(self, input):
record_step_status(output_model[i], 'pixel_replace', success=True)

return output_model
# ________________________________________
# calewbb_spec2 case - single input model
# ________________________________________

# calwebb_spec2 case / single input model
else:
# Make copy of input to prevent overwriting
result = input_model.copy()
Expand Down

0 comments on commit 1834ec0

Please sign in to comment.