Skip to content

Commit

Permalink
Change stray WFIRST mention to Roman
Browse files Browse the repository at this point in the history
  • Loading branch information
ojustino committed May 10, 2024
1 parent 3170285 commit 7e3b808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stips/astro_image/astro_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def imageHdu(self):
def psf_constructor(self):
import webbpsf
if not hasattr(webbpsf, self.telescope.lower()) and self.telescope.lower() == 'roman':
return getattr(getattr(webbpsf, 'wfirst'), self.instrument)()
return getattr(getattr(webbpsf, 'roman'), self.instrument)()
if hasattr(webbpsf, self.instrument):
return getattr(webbpsf, self.instrument)()
return getattr(getattr(webbpsf, self.telescope), self.instrument)()
Expand Down

0 comments on commit 7e3b808

Please sign in to comment.