IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2008, 3:36:54 PM (18 years ago)
Author:
eugene
Message:

adding camera option on command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimSequenceDark.c

    r17032 r19080  
    11# include "ppSimSequence.h"
    22
    3 bool ppSimSequenceDark (FILE *simfile, FILE *inject, psMetadata *sequence, int nSeq, psRandom *rng, const char *path, const char *basename, const char *injectCommand) {
     3bool ppSimSequenceDark (FILE *simfile, FILE *inject, psMetadata *sequence, int nSeq, psRandom *rng, const char *path, const char *basename, char *camera, const char *injectCommand) {
    44
    55    bool status, setRate;
    66    float min, max = 0;
    77
    8     char *camera = psMetadataLookupStr (&status, sequence, "CAMERA");
     8    if (camera == NULL) {
     9        camera = psMetadataLookupStr (&status, sequence, "CAMERA");
     10    }
    911
    1012    setRate = false;
Note: See TracChangeset for help on using the changeset viewer.