Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #603 from CMSCompOps/check_primary_for_primary_aaa
Browse files Browse the repository at this point in the history
check primary dataset before assigning primary_aaa
  • Loading branch information
z4027163 authored Jul 2, 2020
2 parents a092883 + c735785 commit f99c3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unified/assignor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def rank( wfn ):
if 'Campaign' in wfh.request and wfh.request['Campaign'] in CI.campaigns:
assign_parameters.update( CI.campaigns[wfh.request['Campaign']] )

if 'primary_AAA' in assign_parameters:
if 'primary_AAA' in assign_parameters and primary:
primary_aaa = primary_aaa or assign_parameters['primary_AAA']
if 'secondary_AAA' in assign_parameters:
secondary_aaa = secondary_aaa or assign_parameters['secondary_AAA']
Expand Down

0 comments on commit f99c3a3

Please sign in to comment.