Changeset 13659
- Timestamp:
- Jun 5, 2007, 3:10:15 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpParseCamera.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpParseCamera.c
r13528 r13659 19 19 pmFPAfile *astrom = pmFPAfileDefineFromArgs (&status, config, "PSWARP.ASTROM", "ASTROM"); 20 20 if (!status) { 21 psError (PS_ERR_UNKNOWN, false, "failed to load find definition");22 return NULL;21 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 22 return NULL; 23 23 } 24 24 if (astrom) { … … 31 31 pmFPAfile *inMask = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.MASK", "MASK"); 32 32 if (!status) { 33 psError (PS_ERR_UNKNOWN, false, "failed to load find definition");34 return NULL;33 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 34 return NULL; 35 35 } 36 36 if (!inMask) { … … 40 40 pmFPAfile *inWeight = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.WEIGHT", "WEIGHT"); 41 41 if (!status) { 42 psError (PS_ERR_UNKNOWN, false, "failed to load find definition");43 return NULL;42 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 43 return NULL; 44 44 } 45 45 if (!inWeight) { … … 62 62 return false; 63 63 } 64 if (inMask) { 65 if (!pmFPAfileDefineOutput (skyConfig, skycell->fpa, "PSWARP.OUTPUT.MASK")) { 66 psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.MASK"); 67 return false; 68 } 64 if (!pmFPAfileDefineOutput (skyConfig, skycell->fpa, "PSWARP.OUTPUT.MASK")) { 65 psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.MASK"); 66 return false; 69 67 } 70 68 if (inWeight) {
Note:
See TracChangeset
for help on using the changeset viewer.
