-
Type: Story
-
Status: Won't Fix (View Workflow)
-
Priority: Normal
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Sprint:2DDRP-2021 A 2, 2DDRP-2021 A3
generateCommands.py currently requires an init block in the YAML file. This makes sense for the integration test and weekly, but not for steady state processing. Make the init block optional.
Without an init block:
(lsst-scipipe) pprice@tiger2-sumire:/scratch/pprice/pipe2d-709 $ generateCommands.py /projects/HSC/PFS/Subaru/ --calib /tigress/HSC/PFS/Subaru/CALIB-price --rerun price/pipe2d-709 --blocks=pipe2d_709 -j 20 pipe2d-709.yaml pipe2d-709.sh Traceback (most recent call last): File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pfs_pipe2d/w.2021.06a/bin/generateCommands.py", line 24, in <module> main() File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pfs_pipe2d/w.2021.06a/python/pfs/pipe2d/generateCommands.py", line 94, in main return generateCommands(logger=logger, **vars(args)) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pfs_pipe2d/w.2021.06a/python/pfs/pipe2d/generateCommands.py", line 1487, in generateCommands initSource, calibBlocks, scienceBlocks = processYaml(specFile) File "/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pfs_pipe2d/w.2021.06a/python/pfs/pipe2d/generateCommands.py", line 1274, in processYaml initSource = InitSource.fromYaml(content["init"]) KeyError: 'init'
- relates to
-
PIPE2D-706 Regular processing of arcs, flats
- Done