Changeset 35499
- Timestamp:
- May 3, 2013, 10:24:07 AM (13 years ago)
- Location:
- tags/ipp-20130307/pstamp
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
scripts/pstamp_checkdependent.pl (modified) (2 diffs)
-
scripts/pstamp_job_run.pl (modified) (1 diff)
-
src/ppstampMakeStamp.c (modified) (2 diffs)
-
src/ppstampParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130307/pstamp
- Property svn:mergeinfo changed
/trunk/pstamp merged: 35497-35498
- Property svn:mergeinfo changed
-
tags/ipp-20130307/pstamp/scripts/pstamp_checkdependent.pl
r34716 r35499 344 344 } 345 345 346 if (0) { 346 347 my $tess_id = $metadata->{tess_id}; 347 348 if ($tess_id eq 'RINGS.V0') { … … 349 350 return $PSTAMP_GONE 350 351 } 352 } 351 353 if (($state =~ /error/) or ($state =~ /purged/) or ($state =~ /scrubbed/) or ($state eq 'drop') or 352 354 ($data_state =~ /error/) or ($data_state =~ /purged/) or ($data_state =~ /scrubbed/) or ($data_state eq 'drop')) { -
tags/ipp-20130307/pstamp/scripts/pstamp_job_run.pl
r35489 r35499 151 151 } elsif ($params->{cmf}) { 152 152 $argString .= " -write_cmf"; 153 $fileArgs .= " -sources $params->{cmf}"; 153 154 push @file_list, $params->{cmf}; 154 155 } else { -
tags/ipp-20130307/pstamp/src/ppstampMakeStamp.c
r34596 r35499 359 359 360 360 if (options->writeCMF) { 361 pmReadout * astromReadout = NULL;361 pmReadout *sourcesReadout = NULL; 362 362 if (astrom->fpa != input->fpa) { 363 astromReadout = pmFPAviewThisReadout(srcView, astrom->fpa); 364 } 365 if (!copySources(outReadout, astromReadout, astromReadout, extractRegion)) { 363 sourcesReadout = pmFPAviewThisReadout(srcView, astrom->fpa); 364 } else { 365 sourcesReadout = readout; 366 } 367 if (!copySources(outReadout, sourcesReadout, sourcesReadout, extractRegion)) { 366 368 psError(PS_ERR_UNKNOWN, false, "failed to extract sources from region of interest.\n"); 367 369 status = false; … … 784 786 785 787 // first look for detections in the input readout. Those would have come from the -sources file 788 if (!inReadout->analysis) { 789 psLogMsg("ppstampMakeStamp", PS_LOG_WARN, "no analysis metadata found on input\n"); 790 return false; 791 } 786 792 pmDetections *inDetections = psMetadataLookupPtr (&status, inReadout->analysis, "PSPHOT.DETECTIONS"); 787 793 if (!inDetections) { -
tags/ipp-20130307/pstamp/src/ppstampParseCamera.c
r35489 r35499 119 119 // see if -sources file was supplied. 120 120 // If so define the file. 121 psPtr sourcesFile = psMetadataLookup Str(&status, config->arguments, "SOURCES");121 psPtr sourcesFile = psMetadataLookupPtr(&status, config->arguments, "SOURCES"); 122 122 if (sourcesFile) { 123 123 pmFPAfile *sources = pmFPAfileBindFromArgs(&status, input, config, "PPSTAMP.INPUT.SOURCES", "SOURCES");
Note:
See TracChangeset
for help on using the changeset viewer.
