Changeset 37790
- Timestamp:
- Jan 9, 2015, 6:28:40 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/dvomerge
- Files:
-
- 3 edited
-
include/dvomerge.h (modified) (1 diff)
-
src/args.c (modified) (1 diff)
-
src/dvomergeUpdate_catalogs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/dvomerge/include/dvomerge.h
r37585 r37790 41 41 int REPLACE_BY_PHOTCODE; 42 42 int FORCE_MERGE; 43 char *UPDATE_CATFORMAT; 43 44 44 45 int MATCHED_TABLES; -
branches/eam_branches/ipp-20140904/Ohana/src/dvomerge/src/args.c
r37584 r37790 56 56 FORCE_MERGE = TRUE; 57 57 remove_argument (N, argc, argv); 58 } 59 60 UPDATE_CATFORMAT = NULL; 61 if ((N = get_argument (argc, argv, "-update-catformat"))) { 62 remove_argument (N, &argc, argv); 63 UPDATE_CATFORMAT = strcreate (argv[N]); 64 remove_argument (N, &argc, argv); 58 65 } 59 66 -
branches/eam_branches/ipp-20140904/Ohana/src/dvomerge/src/dvomergeUpdate_catalogs.c
r37584 r37790 175 175 LoadCatalog (&outcatalog, outlist[0].regions[j], outcatalog.filename, "w", NsecfiltOutput); 176 176 177 // if no catalog already exists, use the input catalog to define the format 177 // if no catalog already exists, use the input catalog to define the format or the specified format 178 178 if (outcatalog.Naves_disk == 0) { 179 outcatalog.catformat = incatalog.catformat; 179 if (UPDATE_CATFORMAT) { 180 outcatalog.catformat = dvo_catalog_catformat (UPDATE_CATFORMAT); 181 } else { 182 outcatalog.catformat = incatalog.catformat; 183 } 180 184 } 181 185
Note:
See TracChangeset
for help on using the changeset viewer.
