Changeset 8715
- Timestamp:
- Aug 30, 2006, 3:43:18 PM (20 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 10 edited
-
detrend_calc_norm.pl (modified) (2 diffs)
-
detrend_create_resid.pl (modified) (1 diff)
-
detrend_process.pl (modified) (1 diff)
-
detrend_reject_exp.pl (modified) (1 diff)
-
detrend_reject_imfile.pl (modified) (1 diff)
-
detrend_stack.pl (modified) (2 diffs)
-
mdc2list.pl (modified) (1 diff)
-
phase0exp.pl (modified) (1 diff)
-
phase0imfile.pl (modified) (1 diff)
-
phase2.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_calc_norm.pl
r8488 r8715 38 38 39 39 # Parse the output 40 my $metadata = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata 40 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 41 or die "unable to parse metadata config doc"; 41 42 $files = parse_md_list($metadata); 42 43 } … … 74 75 die "Unable to perform ppNormCalc: $error_code\n" 75 76 if not $success; 76 $norms = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata 77 $norms = $mdcParser->parse(join "", @$stdout_buf) 78 or die "unable to parse metadata config doc"; 77 79 } 78 80 -
trunk/ippScripts/scripts/detrend_create_resid.pl
r8609 r8715 91 91 close $statsFile; 92 92 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 93 my $metadata = $mdcParser->parse(join "", @contents); # Metadata from the stats 93 my $metadata = $mdcParser->parse(join "", @contents) 94 or die "unable to parse metadata config doc"; 94 95 $stats = PS::IPP::Metadata::Stats->new(); # Stats parser 95 96 $stats->parse($metadata) or die "Unable to find all values in statistics output.\n"; -
trunk/ippScripts/scripts/detrend_process.pl
r8616 r8715 73 73 close $statsFile; 74 74 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 75 my $metadata = $mdcParser->parse(join "", @contents); # Metadata from the stats 75 my $metadata = $mdcParser->parse(join "", @contents) 76 or die "unable to parse metadata config"; 76 77 $stats = PS::IPP::Metadata::Stats->new(); # Stats parser 77 78 $stats->parse($metadata) or die "Unable to find all values in statistics output.\n"; -
trunk/ippScripts/scripts/detrend_reject_exp.pl
r8614 r8715 55 55 run(command => $command, verbose => 1); 56 56 die "Unable to perform dettool -processed: $error_code\n" if not $success; 57 my $metadata = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata 57 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 58 or die "unable to parse metadata config doc"; 58 59 $exposures = parse_md_list($metadata); 59 60 } -
trunk/ippScripts/scripts/detrend_reject_imfile.pl
r8612 r8715 76 76 run(command => $command, verbose => 1); 77 77 die "Unable to perform dettool -processed: $error_code\n" if not $success; 78 my $metadata = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata 78 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 79 or die "unable to parse metadata config doc"; 79 80 $files = parse_md_list($metadata); 80 81 } -
trunk/ippScripts/scripts/detrend_stack.pl
r8714 r8715 51 51 run(command => $command, verbose => 1); 52 52 die "Unable to perform dettool -processed: $error_code\n" if not $success; 53 my $metadata = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata 53 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 54 or die "unable to parse metadata config doc"; 54 55 $files = parse_md_list($metadata); 55 56 } … … 85 86 close $statsFile; 86 87 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 87 my $metadata = $mdcParser->parse(join "", @contents); # Metadata from the stats 88 my $metadata = $mdcParser->parse(join "", @contents) 89 or die "unable to parse metadata config doc"; 88 90 $stats = PS::IPP::Metadata::Stats->new(); # Stats parser 89 91 $stats->parse($metadata) or die "Unable to find all values in statistics output.\n"; -
trunk/ippScripts/scripts/mdc2list.pl
r8115 r8715 34 34 my @input = <$inFile>; # Contents of the metadata config file 35 35 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 36 my $md = $mdcParser->parse(join "", @input); # The parsed metadata 36 my $md = $mdcParser->parse(join "", @input) 37 or die "unable to parse metadata config doc"; 37 38 my $hashes = mds2hashes($md); # An array of hashes 38 39 foreach my $pending (@$hashes) { -
trunk/ippScripts/scripts/phase0exp.pl
r8713 r8715 67 67 run(command => $command, verbose => 1); 68 68 die "Unable to perform p0tool on exposure id $expid: $error_code\n" if not $success; 69 my $metadata = $mdcParser->parse(join "", @$stdout_buf); # Parsed metadata 69 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 70 or die "unable to parse metadata config doc"; 70 71 $imfiles = parse_md_list($metadata); # Data for imfiles 71 72 } -
trunk/ippScripts/scripts/phase0imfile.pl
r8710 r8715 67 67 # Parse the output 68 68 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 69 my $metadata = $mdcParser->parse(join "", @$stdout_buf); 69 my $metadata = $mdcParser->parse(join "", @$stdout_buf) 70 or die "unable to parse metadata config doc"; 70 71 my @constants = keys %{CONSTANTS()}; # List of constants to parse out 71 72 my @variables = keys %{VARIABLES()}; # List of variables to parse out -
trunk/ippScripts/scripts/phase2.pl
r8620 r8715 55 55 close $statsFile; 56 56 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 57 my $metadata = $mdcParser->parse(join "", @contents); # Metadata from the stats 57 my $metadata = $mdcParser->parse(join "", @contents) 58 or die "unable to parse metadata config doc"; 58 59 $stats = PS::IPP::Metadata::Stats->new(); # Stats parser 59 60 $stats->parse($metadata) or die "Unable to find all values in statistics output.\n";
Note:
See TracChangeset
for help on using the changeset viewer.
