IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40458


Ignore:
Timestamp:
Jun 27, 2018, 1:07:38 PM (8 years ago)
Author:
eugene
Message:

print count of files for directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20170908/tools/hsc/register_directory.pl

    r40380 r40458  
    2020my %registered_exp = ();
    2121
     22get_registered_exp_names();
     23
    2224my $directory = shift(@ARGV);
    2325
     
    3739    if (($base % 2) != 0) { next; }
    3840    if (exists($registered_exp{$exp_name})) { next; }
    39      
     41#    print "# $exp_name\n";
    4042    my $set1 = "${directory}/HSCA${base}??.fits";
    4143    $base =~ s/2$/3/;
     
    5557    }
    5658    else {
    57         print "echo 'exp_name HSCA${base} does not have the correct count of image files.'\n";
     59        print "echo 'exp_name HSCA${base} does not have the correct count of image files ($count).'\n";
    5860    }
    5961}
Note: See TracChangeset for help on using the changeset viewer.