Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 17, 2023
1 parent f8de2e6 commit 8df9060
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/roman_datamodels/maker_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def mk_source_detection():
roman_datamodels.stnode.Photometry
"""
sd = stnode.SourceDetection()
sd['tweakreg_catalog_name'] = 'filename_tweakreg_catalog.asdf'
sd["tweakreg_catalog_name"] = "filename_tweakreg_catalog.asdf"
return sd


Expand Down
3 changes: 2 additions & 1 deletion src/roman_datamodels/testing/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,7 @@ def create_ramp_fit_output(**kwargs):

return stnode.RampFitOutput(raw)


def create_source_detection(**kwargs):
"""
Create a dummy SourceDetection instance with valid values for attributes
Expand All @@ -983,7 +984,7 @@ def create_source_detection(**kwargs):
roman_datamodels.stnode.Photometry
"""
raw = {
"tweakreg_catalog_name": 'filename_catalog.asdf',
"tweakreg_catalog_name": "filename_catalog.asdf",
}
raw.update(kwargs)

Expand Down

0 comments on commit 8df9060

Please sign in to comment.