Ignore:
Timestamp:
24/01/16 18:33:53 (5 years ago)
Author:
mjuckes
Message:

Adding hdldemo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/srcMisc/dreq_consol_dreq.py

    r547 r558  
    361361    return k 
    362362 
    363   def addItem( self, mip, tab, nn, nexmax, nenmax, nymax, expt=None, rid=None, treset=None ): 
     363  def addItem( self, mip, tab, nn, nexmax, nenmax, nymax, expt=None, rid=None, treset=None, info=None ): 
    364364    if not self.tabindx.has_key( tab ): 
    365365      self.tabindx[tab] = len(self.tablist) 
     
    368368    self.tablist[ix][mip] = nn 
    369369    self.mips[mip] += 1 
    370     self.records.append( (mip,tab,expt, rid,nn, nexmax, nenmax, nymax,treset) ) 
     370    self.records.append( (mip,tab,expt, rid,nn, nexmax, nenmax, nymax,treset,info) ) 
    371371 
    372372  def show(self,oo): 
     
    636636            tab = '%s!!%s' % (self.mip,tab) 
    637637 
    638         self.parent.addItem( self.mip, tab, ntot, nexmax, nenmax, nymax, expt=expt, rid=rid, treset=treset ) 
     638        self.parent.addItem( self.mip, tab, ntot, nexmax, nenmax, nymax, expt=expt, rid=rid, treset=treset, info=sny ) 
    639639        return True 
    640640      except: 
     
    749749sh['__info__'] = { 'label':'requestItems', 'title':'Specification for a single experiment' , \ 
    750750     'comment':'Currently only has number of years -- need to include more details' } 
    751 sh['__cols__'] = [ 'mip', 'tab', 'expt','rlid','ny', 'nexmax', 'nenmax', 'nymax','treset'] 
     751sh['__cols__'] = [ 'mip', 'tab', 'expt','rlid','ny', 'nexmax', 'nenmax', 'nymax','treset','info'] 
    752752##('AerChemMIP', u'Omon_3d', u'CMIP6 historical', 'ad74be9a-26ef-11e5-8d9b-ac72891c3257', 0.0) 
    753753for i in rqs.records: 
Note: See TracChangeset for help on using the changeset viewer.