IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37849


Ignore:
Timestamp:
Jan 17, 2015, 5:52:12 AM (12 years ago)
Author:
eugene
Message:

add option to specify the output format (if not already present)

Location:
branches/eam_branches/ipp-20150112/Ohana/src/dvomerge/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150112/Ohana/src/dvomerge/src/args.c

    r37807 r37849  
    206206  }
    207207
     208  UPDATE_CATFORMAT = NULL;
     209  if ((N = get_argument (*argc, argv, "-update-catformat"))) {
     210    remove_argument (N, argc, argv);
     211    UPDATE_CATFORMAT = strcreate (argv[N]);
     212    remove_argument (N, argc, argv);
     213  }
     214
    208215  /* replace measurement, don't duplicate */
    209216  REPLACE_BY_PHOTCODE = FALSE;
  • branches/eam_branches/ipp-20150112/Ohana/src/dvomerge/src/dvomergeUpdate_catalogs.c

    r37807 r37849  
    270270
    271271    char tmpline[DVO_MAX_PATH];
    272     if (VERBOSE)             { snprintf (tmpline, DVO_MAX_PATH, "%s -v",               command); strcpy (command, tmpline); }
    273     if (VERIFY)              { snprintf (tmpline, DVO_MAX_PATH, "%s -verify",          command); strcpy (command, tmpline); }
    274     if (VERIFY_CATALOG_ONLY) { snprintf (tmpline, DVO_MAX_PATH, "%s -verify-catalogs", command); strcpy (command, tmpline); }
    275     if (REPLACE_BY_PHOTCODE) { snprintf (tmpline, DVO_MAX_PATH, "%s -replace",         command); strcpy (command, tmpline); }
    276     if (PARALLEL_INPUT)      { snprintf (tmpline, DVO_MAX_PATH, "%s -parallel-input",  command); strcpy (command, tmpline); }
    277     if (FORCE_MERGE)         { snprintf (tmpline, DVO_MAX_PATH, "%s -force-merge",     command); strcpy (command, tmpline); }
    278     if (MATCHED_TABLES)      { snprintf (tmpline, DVO_MAX_PATH, "%s -matched-tables",  command); strcpy (command, tmpline); }
     272    if (VERBOSE)             { snprintf (tmpline, DVO_MAX_PATH, "%s -v",                command); strcpy (command, tmpline); }
     273    if (VERIFY)              { snprintf (tmpline, DVO_MAX_PATH, "%s -verify",           command); strcpy (command, tmpline); }
     274    if (VERIFY_CATALOG_ONLY) { snprintf (tmpline, DVO_MAX_PATH, "%s -verify-catalogs",  command); strcpy (command, tmpline); }
     275    if (REPLACE_BY_PHOTCODE) { snprintf (tmpline, DVO_MAX_PATH, "%s -replace",          command); strcpy (command, tmpline); }
     276    if (PARALLEL_INPUT)      { snprintf (tmpline, DVO_MAX_PATH, "%s -parallel-input",   command); strcpy (command, tmpline); }
     277    if (FORCE_MERGE)         { snprintf (tmpline, DVO_MAX_PATH, "%s -force-merge",      command); strcpy (command, tmpline); }
     278    if (MATCHED_TABLES)      { snprintf (tmpline, DVO_MAX_PATH, "%s -matched-tables",   command); strcpy (command, tmpline); }
     279    if (UPDATE_CATFORMAT)    { snprintf (tmpline, DVO_MAX_PATH, "%s -update-catformat %s", command, UPDATE_CATFORMAT); strcpy (command, tmpline); }
    279280
    280281    // add some config variables:
Note: See TracChangeset for help on using the changeset viewer.