IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30242


Ignore:
Timestamp:
Jan 12, 2011, 1:26:27 PM (15 years ago)
Author:
watersc1
Message:

forgot to test that I'd defined all the variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/register_imfile.pl

    r30240 r30242  
    179179if (uc(&value_for_flag ($cmdflags, "NULL", "-class_id"))  eq "NULL") { &my_die_for_add ("class_id  not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }
    180180if (uc(&value_for_flag ($cmdflags, "NULL", "-exp_type"))  eq "NULL") { &my_die_for_add ("exp_type  not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }
     181my $dateobs   = &value_for_flag($cmdflags, 0.0, "-dateobs");
    181182
    182183my $command = "$regtool -addprocessedimfile";
     
    207208my $ra        = &value_for_flag($cmdflags, 0.0, "-ra");
    208209my $dec       = &value_for_flag($cmdflags, 0.0, "-decl");
    209 my $dateobs   = &value_for_flag($cmdflags, 0.0, "-dateobs");
     210
    210211
    211212# if the needed data is available, pass it to sunmoon:
     
    379380    my $sunrise = shift;
    380381
    381     my $date,$time;
     382    my ($date,$time);
    382383
    383384    if ($dateobs =~ /T/) {
Note: See TracChangeset for help on using the changeset viewer.