Changeset 33654 for trunk/Ohana/src/uniphot/src/ConfigInit.c
- Timestamp:
- Apr 1, 2012, 3:05:06 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/uniphot/src/ConfigInit.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/uniphot/src/ConfigInit.c
r27790 r33654 7 7 double ZERO_POINT; 8 8 char *config, *file; 9 char CatdirPhotcodeFile[256];10 char MasterPhotcodeFile[256];11 9 12 10 /*** load configuration info ***/ … … 23 21 ScanConfig (config, "CATMODE", "%s", 0, CATMODE); 24 22 ScanConfig (config, "CATFORMAT", "%s", 0, CATFORMAT); 25 ScanConfig (config, "PHOTCODE_FILE", "%s", 0, MasterPhotcodeFile);26 23 27 24 sprintf (ImageCat, "%s/Images.dat", CATDIR); … … 43 40 if (*CATMODE == 0) strcpy (CATMODE, "RAW"); 44 41 if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR"); 45 46 /* XXX this does not yet write out the master photcode table */47 sprintf (CatdirPhotcodeFile, "%s/Photcodes.dat", CATDIR);48 if (!LoadPhotcodes (CatdirPhotcodeFile, MasterPhotcodeFile, TRUE)) {49 fprintf (stderr, "error loading photcode table %s or master file %s\n", CatdirPhotcodeFile, MasterPhotcodeFile);50 exit (1);51 }52 53 42 } 54 43
Note:
See TracChangeset
for help on using the changeset viewer.
