Skip to content

Commit

Permalink
prodanaly: more prodsourcelabel=panda cases
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarreir committed Dec 3, 2019
1 parent f128e23 commit a6a9759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pandaharvester/harvestermisc/info_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,10 @@ def is_grandly_unified_queue(self, panda_resource):
return False

# initial, temporary nomenclature
if 'grandly_unified' in panda_queue_dict.get('catchall'):
if 'grandly_unified' in panda_queue_dict.get('catchall') \
or panda_queue_dict.get('type') == 'unified':
return True

# TODO: implement the final nomenclature

return False

# get harvester params
Expand Down
2 changes: 1 addition & 1 deletion pandaharvester/harvestersubmitter/htcondor_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def _choose_proxy(workspec):
"""
job_type = workspec.jobType
proxy = self.x509UserProxy
if is_grandly_unified_queue and (job_type == 'user' or job_type == 'analysis') and self.x509UserProxyAnalysis:
if is_grandly_unified_queue and job_type in ('user', 'panda', 'analysis') and self.x509UserProxyAnalysis:
tmpLog.debug('Taking analysis proxy')
proxy = self.x509UserProxyAnalysis
else:
Expand Down

0 comments on commit a6a9759

Please sign in to comment.