IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2013, 5:57:02 AM (13 years ago)
Author:
eugene
Message:

add -verify option (= -check-only) to check for merged tables, but not actually merge the data

File:
1 edited

Legend:

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

    r35416 r35589  
    1212    remove_argument (N, argc, argv);
    1313  }
     14
     15  /* verify merge status of output tables, but do not modify */
     16  VERIFY = FALSE;
     17  if ((N = get_argument (*argc, argv, "-verify"))) {
     18    VERIFY = TRUE;
     19    remove_argument (N, argc, argv);
     20  }
     21  if ((N = get_argument (*argc, argv, "-check-only"))) {
     22    VERIFY = TRUE;
     23    remove_argument (N, argc, argv);
     24  }
     25
     26  /* use a different photcode file to define mean values */
    1427  if ((N = get_argument (*argc, argv, "-photcode-file"))) {
    1528    remove_argument (N, argc, argv);
     
    113126  }
    114127
     128  /* verify merge status of output tables, but do not modify */
     129  VERIFY = FALSE;
     130  if ((N = get_argument (*argc, argv, "-verify"))) {
     131    VERIFY = TRUE;
     132    remove_argument (N, argc, argv);
     133  }
     134  if ((N = get_argument (*argc, argv, "-check-only"))) {
     135    VERIFY = TRUE;
     136    remove_argument (N, argc, argv);
     137  }
     138
    115139  /* replace measurement, don't duplicate */
    116140  REPLACE_BY_PHOTCODE = FALSE;
Note: See TracChangeset for help on using the changeset viewer.