Changeset 14091 for trunk/ippTools/src/regtool.c
- Timestamp:
- Jul 9, 2007, 3:17:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtool.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtool.c
r14059 r14091 629 629 return false; 630 630 } 631 psFree(rawExp);632 631 633 632 // if this is a detrend image don't put it in the chip queue (and we're … … 641 640 } 642 641 psError(PS_ERR_UNKNOWN, false, "failed to change newExp.state for exp_id: %s", exp_id); 642 psFree(rawExp); 643 643 psFree(output); 644 644 return false; … … 655 655 } 656 656 psError(PS_ERR_UNKNOWN, false, "failed to change newExp.state for exp_id: %s", exp_id); 657 psFree(rawExp); 657 658 psFree(output); 658 659 return false; … … 661 662 // insert an entry into the chipPendingExp table 662 663 // this can only be run as the newExp's state has been set to stop 663 if (!pxchipQueueByExpTag(config, exp_id, NULL, NULL, NULL, NULL, NULL)) { 664 if (!pxchipQueueByExpTag(config, 665 exp_id, // exp_id is the string version, rawExp->exp_id isa int 666 rawExp->workdir, 667 NULL, // label 668 rawExp->reduction, 669 NULL, // expgroup 670 NULL // dvodb 671 )) { 664 672 // rollback 665 673 if (!psDBRollback(config->dbh)) { … … 667 675 } 668 676 psError(PS_ERR_UNKNOWN, false, "failed to queue chipPendingExp"); 677 psFree(rawExp); 669 678 psFree(output); 670 679 return false; 671 680 } 681 psFree(rawExp); 672 682 } 673 683 psFree(output); … … 924 934 } 925 935 936 psString workdir = psMetadataLookupStr(&status, config->args, "-workdir"); 937 if (!status) { 938 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -workdir"); 939 return false; 940 } 941 942 psString reduction = psMetadataLookupStr(&status, config->args, "-reduction"); 943 if (!status) { 944 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -reduction"); 945 return false; 946 } 947 926 948 psString filter = psMetadataLookupStr(&status, config->args, "-filter"); 927 949 if (!status) { … … 1065 1087 exp_type, 1066 1088 filelevel, 1067 exp->workdir, 1089 workdir ? workdir : exp->workdir, 1090 reduction ? reduction : exp->reduction, 1068 1091 filter, 1069 1092 airmass,
Note:
See TracChangeset
for help on using the changeset viewer.
