IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38652


Ignore:
Timestamp:
Jul 30, 2015, 5:11:54 PM (11 years ago)
Author:
eugene
Message:

pass -repair-by-objid to client

Location:
branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/initialize_setphot_client.c

    r35103 r38652  
    5353    remove_argument (N, &argc, argv);
    5454    UserPatch.Dmax = atof (argv[N]);
     55    remove_argument (N, &argc, argv);
     56  }
     57
     58  REPAIR_BY_OBJID = FALSE;
     59  if ((N = get_argument (argc, argv, "-repair-by-objid"))) {
     60    REPAIR_BY_OBJID = TRUE;
    5561    remove_argument (N, &argc, argv);
    5662  }
  • branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/update_dvo_setphot.c

    r38634 r38652  
    136136              UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax);
    137137
    138     if (VERBOSE)       { strextend (&command, "-v"); }
    139     if (RESET)         { strextend (&command, "-reset"); }
    140     if (UPDATE)        { strextend (&command, "-update"); }
    141     if (UBERCAL)       { strextend (&command, "-ubercal"); }
     138    if (VERBOSE)         { strextend (&command, "-v"); }
     139    if (RESET)           { strextend (&command, "-reset"); }
     140    if (UPDATE)          { strextend (&command, "-update"); }
     141    if (UBERCAL)         { strextend (&command, "-ubercal"); }
     142    if (REPAIR_BY_OBJID) { strextend (&command, "-repair-by-objid"); }
    142143
    143144    fprintf (stderr, "command: %s\n", command);
Note: See TracChangeset for help on using the changeset viewer.