Changeset 42381 for trunk/psastro
- Timestamp:
- Feb 8, 2023, 11:55:30 AM (3 years ago)
- Location:
- trunk/psastro
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
src/psastro.c (modified) (1 diff)
-
src/psastroDataSave.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20220316/psastro (added) merged: 42145,42185,42194,42216,42370
- Property svn:mergeinfo changed
-
trunk/psastro/src/psastro.c
r41285 r42381 29 29 30 30 // load configuration information 31 pmConfig *config = config = psastroArguments(argc, argv); 32 if (!config) { 33 usage(); 34 } 31 pmConfig *config = psastroArguments(argc, argv); 32 if (!config) usage(); 35 33 36 34 psastroVersionPrint(); -
trunk/psastro/src/psastroDataSave.c
r38040 r42381 75 75 if (hdu && hdu != lastHDU) { 76 76 psastroVersionHeaderFull(hdu->header); 77 // Append teh reference catalog to the header as well. 78 psMetadata *recipe = psMetadataLookupPtr(NULL, config->recipes, PSASTRO_RECIPE); 79 psMetadataAddStr(hdu->header,PS_LIST_TAIL,"PSREFCAT",PS_META_REPLACE,NULL, 80 psMetadataLookupStr(NULL,recipe,"PSASTRO.CATDIR")); 77 // Append the reference catalog to the header as well. 78 char *catdir = psMetadataLookupStr(NULL, recipe, "PSASTRO.CATDIR"); 79 psMetadataAddStr(hdu->header, PS_LIST_TAIL, "PSREFCAT", PS_META_REPLACE, NULL, catdir); 81 80 lastHDU = hdu; 82 81 }
Note:
See TracChangeset
for help on using the changeset viewer.
