Ignore:
Timestamp:
09/30/13 11:45:39 (11 years ago)
Author:
smasson
Message:

bugfix to be used in batch mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Grid/ncdf_meshroms.pro

    r371 r487  
    127127; 
    128128  if keyword_set(getdimensions) then begin 
    129     widget_control, noticebase, bad_id = nothing, /destroy 
     129    IF NOT keyword_set(key_batch) then widget_control, noticebase, bad_id = nothing, /destroy 
    130130    ncdf_close,  cdfid 
    131131    return 
     
    198198        ras = report (['the x axis (1st line of glamt) is not sorted in the increasing order after the automatic definition of key_shift', $ 
    199199        'please use the keyword shift (and periodic) to suppress the automatic definition of key_shift (and key_periodic) and define by hand a more suitable value...']) 
    200         widget_control, noticebase, bad_id = nothing, /destroy 
     200        IF NOT keyword_set(key_batch) then widget_control, noticebase, bad_id = nothing, /destroy 
    201201        return 
    202202      ENDIF 
     
    491491  izmindta = izmindtasauve 
    492492;------------------------------------------------------- 
    493   widget_control, noticebase, bad_id = nothing, /destroy 
     493  IF NOT keyword_set(key_batch) then widget_control, noticebase, bad_id = nothing, /destroy 
    494494; 
    495495;==================================================== 
Note: See TracChangeset for help on using the changeset viewer.