- Timestamp:
- Sep 7, 2026, 4:51:13 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/ppSim/src/ppSimSequenceObject.c
r43068 r43081 79 79 for (float pos = pos_min; pos <= pos_max; pos += pos_delta) { 80 80 81 // define the output filename 82 psString filename = NULL; 83 if (path) { 84 psStringAppend (&filename, "%s/%s.%03d.%03d", path, basename, nSeq, nImage); 85 } else { 86 psStringAppend (&filename, "%s.%03d.%03d", basename, nSeq, nImage); 87 } 81 // define the exposure name and output filename 82 psString expname = ppSimDefineExpname (basename, nSeq, nImage); 83 psString filename = ppSimDefineFilename (path, expname); 88 84 89 85 // define the ppSim command … … 121 117 for (int i = 0; i < files->n; i++) { 122 118 command = psStringCopy (injectCommand); 123 psStringAppend (&command, " %s.%s", filename, (char *) files->data[i]);119 psStringAppend (&command, " --exp_name %s %s.%s", expname, filename, (char *) files->data[i]); 124 120 fprintf (inject, "%s\n", command); 125 121 psFree (command); 126 122 } 127 123 124 psFree (expname); 128 125 psFree (filename); 129 126 nImage ++;
Note:
See TracChangeset
for help on using the changeset viewer.
