Changeset 750


Ignore:
Timestamp:
19/09/16 16:14:58 (3 years ago)
Author:
mjuckes
Message:

fixed scope for python 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/dreqPy/scope.py

    r744 r750  
    231231          s.add( i ) 
    232232        elif 'objectiveLink' in self.dq.inx.iref_by_sect[i.uid].a: 
    233           ss = {self.dq.inx.uid[k].label for k in self.dq.inx.iref_by_sect[i.uid].a['objectiveLink']} 
     233          ss = set( [self.dq.inx.uid[k].label for k in self.dq.inx.iref_by_sect[i.uid].a['objectiveLink'] ] ) 
    234234          if any( [x in mipSel[i.mip] for x in ss] ): 
    235235            s.add( i ) 
Note: See TracChangeset for help on using the changeset viewer.