Skip to content

Commit d67b5c0

Browse files
committed
Replace API from source_injection
1 parent ed2cc0e commit d67b5c0

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ tests/.cache
2626
tests/.tests
2727
ups/*.cfgc
2828
version.py
29-
python/*.dist-info/
3029

3130
# Dynamically generated source injection pipelines
3231
pipelines/_ingredients/ApPipeWithFakes.yaml
33-
python/*.dist-info/
32+
python/*.dist-info/

SConstruct

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# -*- python -*-
22
import os
33

4-
from lsst.sconsUtils import scripts
4+
from lsst.sconsUtils import scripts, targets
55
from lsst.sconsUtils.state import env
6-
from lsst.sconsUtils import targets
76
from lsst.sconsUtils.utils import libraryLoaderEnvironment
87
from SCons.Script import Default
98

@@ -26,8 +25,7 @@ ap_pipe_with_fakes_path = os.path.join(
2625
"ApPipeWithFakes.yaml"
2726
)
2827

29-
subset_names = "apPipe,prompt"
30-
subset_description = "Post injection diffim analysis tasks"
28+
subset_names = ["apPipe", "prompt"]
3129

3230
ingredients_ap_pipe_with_fakes = env.Command(
3331
target=ap_pipe_with_fakes_path,
@@ -36,7 +34,7 @@ ingredients_ap_pipe_with_fakes = env.Command(
3634
[
3735
libraryLoaderEnvironment(),
3836
f"make_injection_pipeline -t preliminary_visit_image -r $SOURCE -f $TARGET "
39-
f"-a {additional_fakes_tasks} -s '{subset_names}' ",
37+
f"-a {additional_fakes_tasks} -s "+" -s ".join(subset_names),
4038
f"--config inject_visit:external_psf=False ",
4139
f"--config inject_visit:external_photo_calib=False ",
4240
f"--config inject_visit:external_wcs=False ",

0 commit comments

Comments
 (0)