Changeset 7371 for trunk/ippTools/src/dettool.c
- Timestamp:
- Jun 6, 2006, 1:52:24 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7369 r7371 1608 1608 { 1609 1609 PS_ASSERT_PTR_NON_NULL(config, false); 1610 1611 // no options are required... use the default where statement 1612 psArray *residExps = detResidExpAnalysisSelectRowObjects(config->dbh, 1613 config->where, 0); 1614 if (!residExps) { 1615 psError(PS_ERR_UNKNOWN, false, "no detResidExpAnalysis rows found"); 1616 return false; 1617 } 1618 1619 if (psArrayLength(residExps)) { 1620 // print imfile list 1621 psMetadata *output = psMetadataAlloc(); 1622 for (long i = 0; i < psArrayLength(residExps); i++) { 1623 psMetadata *md = detResidExpAnalysisMetadataFromObject( 1624 residExps->data[i]); 1625 psMetadataAddMetadata( 1626 output, PS_LIST_TAIL, "detResidExpAnalysis", 1627 PS_META_DUPLICATE_OK, NULL, md 1628 ); 1629 } 1630 1631 psString str = psMetadataConfigFormat(output); 1632 psFree(output); 1633 fprintf(stdout, "%s\n", str); 1634 psFree(str); 1635 } 1636 1637 psFree(residExps); 1610 1638 return true; 1611 1639 }
Note:
See TracChangeset
for help on using the changeset viewer.
