Changeset 27141 for trunk/pstamp
- Timestamp:
- Mar 2, 2010, 12:20:13 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/test/test_lookup.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/test/test_lookup.pl
r23267 r27141 19 19 my $img_type; 20 20 my $id; 21 my $class_id;22 21 my $x; 23 22 my $y; … … 25 24 my $mjd_max; 26 25 my $filter; 26 my $skycell_id; 27 my $tess_id; 28 my $component; 29 my $data_group; 30 my $inverse; 31 my $need_magic = 1; 27 32 28 33 … … 33 38 'img_type=s'=> \$img_type, 34 39 'id=s' => \$id, 35 'c lass_id=s'=> \$class_id,40 'component=s'=> \$component, 36 41 'x=s' => \$x, 37 42 'y=s' => \$y, … … 53 58 } 54 59 55 $c lass_id = "null" if !defined($class_id);60 $component = "null" if !defined($component); 56 61 57 my $results = locate_images($ipprc, $image_db, $req_type, $img_type, $id, $class_id, 58 $x, $y, $mjd_min, $mjd_max, $filter, $verbose); 62 my $results = locate_images($ipprc, $image_db, $req_type, $img_type, $id, $tess_id, $component, 63 $inverse, $need_magic, 64 $x, $y, $mjd_min, $mjd_max, $filter, $data_group, $verbose); 59 65 60 66 foreach my $i (@$results) { 61 print "${img_type}_id: $id" ;67 print "${img_type}_id: $id" if $id; 62 68 if ($i->{exp_id}) { 63 69 print " exp_id $i->{exp_id}\n"
Note:
See TracChangeset
for help on using the changeset viewer.
