Changeset 2405 for trunk/tsuite

Show
Ignore:
Timestamp:
10/19/08 07:37:01 (3 months ago)
Author:
peter
Message:

source/assert_results.cpp:

Set wavelength field in output of ASSERT NZONE command to 0.

tsuite/auto/fix_input_scripts.pl:

Fix failure to process H2 column densities for v=1.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tsuite/auto/fix_input_scripts.pl

    r2361 r2405  
    127127        { 
    128128#             this does a lot of magic to convert the assert output back to an input command 
    129             &do_field_heuristics( $fields[$j] ); 
     129            &do_field_heuristics( $fields[$j], $line ); 
    130130            if( $fields[$j] ne "" ) 
    131131            { 
     
    134134        } 
    135135        $oldvaltrim = $oldval; 
    136         &do_field_heuristics( $oldvaltrim ); 
     136        &do_field_heuristics( $oldvaltrim, $line ); 
    137137        $regexp .= "${oldvaltrim}[\\.0]*"; 
    138138        if( $upper_limit ) 
     
    280280        $_[0] = "csupra"; 
    281281    } 
     282    if( $_[1] =~ /^H2/ && $_[0] =~ /^[1-9]0[1-9]$/ ) 
     283    { 
     284        $_[0] =~ s/([1-9])0([1-9])/$1 +$2/; 
     285    } 
    282286} 
    283287