Skip to content

Commit 0cc4e2a

Browse files
committed
modify call to specter psf reading routine when called with option --psf
1 parent 8df4ace commit 0cc4e2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/desisim/scripts/pixsim.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def main(args=None):
186186
break
187187

188188
if args.psf is not None:
189-
import specter.io
190-
psf = specter.io.load_psf(args.psf)
189+
from specter.psf import load_psf
190+
psf = load_psf(args.psf)
191191

192192
simspec = io.read_simspec(args.simspec)
193193

0 commit comments

Comments
 (0)