1
1
# -*- python -*-
2
2
import os
3
3
4
- from lsst .sconsUtils import scripts
4
+ from lsst .sconsUtils import scripts , targets
5
5
from lsst .sconsUtils .state import env
6
- from lsst .sconsUtils import targets
7
6
from lsst .sconsUtils .utils import libraryLoaderEnvironment
8
7
from SCons .Script import Default
9
8
@@ -26,8 +25,7 @@ ap_pipe_with_fakes_path = os.path.join(
26
25
"ApPipeWithFakes.yaml"
27
26
)
28
27
29
- subset_names = "apPipe,prompt"
30
- subset_description = "Post injection diffim analysis tasks"
28
+ subset_names = ["apPipe" , "prompt" ]
31
29
32
30
ingredients_ap_pipe_with_fakes = env .Command (
33
31
target = ap_pipe_with_fakes_path ,
@@ -36,7 +34,7 @@ ingredients_ap_pipe_with_fakes = env.Command(
36
34
[
37
35
libraryLoaderEnvironment (),
38
36
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 ) ,
40
38
f"--config inject_visit:external_psf=False " ,
41
39
f"--config inject_visit:external_photo_calib=False " ,
42
40
f"--config inject_visit:external_wcs=False " ,
0 commit comments