diff --git a/python/lsst/pipe/drivers/constructCalibs.py b/python/lsst/pipe/drivers/constructCalibs.py index d88e5c1..b7061f8 100644 --- a/python/lsst/pipe/drivers/constructCalibs.py +++ b/python/lsst/pipe/drivers/constructCalibs.py @@ -415,8 +415,8 @@ def batchWallTime(cls, time, parsedCmd, numCores): numCcds = len(parsedCmd.butler.get("camera")) numExps = len(cls.RunnerClass.getTargetList( parsedCmd)[0]['expRefList']) - numCycles = int(numCcds/float(numCores) + 0.5) - return time*numExps*numCycles + numCycles = int(numCcds*numExps/float(numCores) + 0.5) + return time*numCycles @classmethod def _makeArgumentParser(cls, *args, **kwargs):