Changeset 42295 for trunk/ppSub/src/ppSubCamera.c
- Timestamp:
- Oct 14, 2022, 4:50:00 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubCamera.c
r42279 r42295 119 119 120 120 121 // Define an output file that will be used in a calculation 122 // This means it might already be available in the RUN metadata 121 // Define an output file that will be used in a calculation. This means it might already be 122 // available in the RUN metadata 123 124 // EAM 2022.10.14 : If the file is not found, treat it as if it did not exist in the input 125 // RUN metadata. Currently, this is only used in this file to select 126 // PPSUB.OUTPUT.KERNELS. 123 127 static pmFPAfile *defineCalcFile(pmConfig *config, // Configuration 124 128 pmFPAfile *bind, // File to which to bind, or NULL … … 133 137 pmFPAfile *file = pmFPAfileDefineFromRun(&status, NULL, config, filerule); // File to return 134 138 if (!status) { 135 psError(psErrorCodeLast(), false, "Failed to load file definition for %s", filerule); 136 return NULL; 139 bool requireSubkernel = psMetadataLookupBool(NULL, config->arguments, "-require-subkernel"); 140 if (requireSubkernel) { 141 psError(psErrorCodeLast(), false, "Failed to load file definition for %s", filerule); 142 return NULL; 143 } else { 144 psWarning("Failed to load file definition for %s, regenerate", filerule); 145 } 137 146 } 138 147 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname);
Note:
See TracChangeset
for help on using the changeset viewer.
