Project: datamanagement
Issue DM-5101: Fix --id examples in processCcd.py and friends to correctly show "ccd=1^2".
The required '^' convention for lists of things, e.g. {{ccd}}, {{filter}}, {{visit}} and such is surprising. But, worse, the documentation is currently wrong in its examples and presents several {{ccd=1,2}}, {{patch=1,2}} examples. * Fix the {{--id}} examples in {{pipe_tasks}} and other uses of processCcd.py in obs_* packages to correctly match the required syntax. Here's the current list in {{pipe_tasks}}, but check other packages as well. {code} [serenity tasks] grep '[0-9],[0-9]' *.py | grep '"' assembleCoadd.py: help="data ID, e.g. --id tract=12345 patch=1,2", coaddBase.py: parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2", imageDifference.py: parser.add_id_argument("--id", "calexp", help="data ID, e.g. --id visit=12345 ccd=1,2") makeDiscreteSkyMap.py: boxI = afwGeom.Box2I(afwGeom.Point2I(0,0), afwGeom.Extent2I(md.get("NAXIS1"), md.get("NAXIS2"))) multiBand.py: parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2 filter=r", multiBand.py: help="data ID, e.g. --id tract=12345 patch=1,2 filter=g^r^i") multiBand.py: parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2 filter=r", processCoadd.py: parser.add_id_argument("--id", "deepCoadd", help="data ID, e.g. --id tract=12345 patch=1,2", {code}
Story points: 1