Ignore:
Timestamp:
30/07/15 10:37:13 (5 years ago)
Author:
mjuckes
Message:

more updates

File:
1 edited

Legend:

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

    r356 r361  
    7474kmm = 0 
    7575knf = 0 
     76nn0 = 0 
     77nn1 = 0 
    7678for k in rq.grps.keys(): 
    7779  if k[0] != '_': 
     
    7981    if r[-3][0] != '_': 
    8082      if r[-4] == 0: 
     83        nn0 += 1 
    8184        if rq.vars.has_key(r[-3]): 
    8285          nok1 += 1 
     
    8588          knf += 1 
    8689      elif r[-4] == 1: 
     90        nn1 += 1 
    8791        if rq.rqvg.has_key(r[-3]): 
    8892          nok2 += 1 
     
    9599      ##print '!GROUP: ',r 
    96100      km += 1 
    97 print 'CHECK.001.0004: on groupItems: %s,%s OK, %s missing reference, not found %s, bad "new" key %s ' % (nok1,nok2,km,knf,kmm) 
     101print 'CHECK.001.0004: on groupItems: %s,%s OK, %s missing reference, not found %s, bad "new" key %s [%s,%s] ' % (nok1,nok2,km,knf,kmm,nn0,nn1) 
    98102 
    99103nok1 = 0 
Note: See TracChangeset for help on using the changeset viewer.