Changeset 38421
- Timestamp:
- Jun 6, 2015, 9:15:09 PM (11 years ago)
- Location:
- branches/eam_branches/ohana.20150429/src/dvomerge
- Files:
-
- 4 edited
-
include/dvomerge.h (modified) (1 diff)
-
src/LoadCatalog.c (modified) (1 diff)
-
src/args.c (modified) (2 diffs)
-
src/dvomergeUpdate_catalogs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/dvomerge/include/dvomerge.h
r37807 r38421 42 42 int FORCE_MERGE; 43 43 char *UPDATE_CATFORMAT; 44 char *UPDATE_CATCOMPRESS; 44 45 45 46 int MATCHED_TABLES; -
branches/eam_branches/ohana.20150429/src/dvomerge/src/LoadCatalog.c
r38352 r38421 8 8 9 9 // always load all of the data (if any exists) 10 catalog[0].catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT | DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR ;10 catalog[0].catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT | DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR | DVO_LOAD_GALPHOT; 11 11 12 12 catalog[0].catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data -
branches/eam_branches/ohana.20150429/src/dvomerge/src/args.c
r38062 r38421 62 62 remove_argument (N, argc, argv); 63 63 UPDATE_CATFORMAT = strcreate (argv[N]); 64 remove_argument (N, argc, argv); 65 } 66 UPDATE_CATCOMPRESS = NULL; 67 if ((N = get_argument (*argc, argv, "-update-catcompress"))) { 68 remove_argument (N, argc, argv); 69 UPDATE_CATCOMPRESS = strcreate (argv[N]); 64 70 remove_argument (N, argc, argv); 65 71 } … … 212 218 remove_argument (N, argc, argv); 213 219 } 220 UPDATE_CATCOMPRESS = NULL; 221 if ((N = get_argument (*argc, argv, "-update-catcompress"))) { 222 remove_argument (N, argc, argv); 223 UPDATE_CATCOMPRESS = strcreate (argv[N]); 224 remove_argument (N, argc, argv); 225 } 214 226 215 227 /* replace measurement, don't duplicate */ -
branches/eam_branches/ohana.20150429/src/dvomerge/src/dvomergeUpdate_catalogs.c
r38352 r38421 182 182 outcatalog.catformat = incatalog.catformat; 183 183 } 184 if (UPDATE_CATCOMPRESS) { 185 outcatalog.catcompress = dvo_catalog_catcompress (UPDATE_CATCOMPRESS); 186 } else { 187 outcatalog.catcompress = incatalog.catcompress; 188 } 184 189 } 185 190
Note:
See TracChangeset
for help on using the changeset viewer.
