Skip to content

Commit

Permalink
fixed DDM location in SimpleTaskSetupper
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaeno committed Sep 27, 2023
1 parent bf0d110 commit 32f03c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandajedi/jedisetup/SimpleTaskSetupper.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def doSetup(self, taskSpec, datasetToRegister, pandaJobs):
# dataset
tmpLog.info("dest={0}".format(datasetSpec.destination))
if datasetSpec.destination:
if not siteMapper.checkSite(datasetSpec.destination):
location = siteMapper.getSite("BNL_OSG_SPHENIX").ddm_output["default"]
if siteMapper.checkSite(datasetSpec.destination):
location = siteMapper.getSite(datasetSpec.destination).ddm_output["default"]
else:
location = datasetSpec.destination
if locForRule is None:
Expand Down

0 comments on commit 32f03c6

Please sign in to comment.