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/ppSimSequenceFlat.c

    r16500 r19080  
    11# include "ppSimSequence.h"
    22
    3 bool ppSimSequenceFlat (FILE *simfile, FILE *inject, psMetadata *sequence, int nSeq, psRandom *rng, const char *path, const char *basename, const char *injectCommand) {
     3bool ppSimSequenceFlat (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;
    66
    7     char *camera = psMetadataLookupStr (&status, sequence, "CAMERA");
     7    if (camera == NULL) {
     8        camera = psMetadataLookupStr (&status, sequence, "CAMERA");
     9    }
    810
    911    // determine the filters & exposure times
Note: See TracChangeset for help on using the changeset viewer.