- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
magic (modified) (1 prop)
-
magic/remove (modified) (1 prop)
-
magic/remove/src (modified) (1 prop)
-
magic/remove/src/streakscompare.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/magic
- Property svn:ignore
-
old new 1 1 magic 2 2 ssa-core-cpp 3 Makefile4 3 Makefile.bak
-
- Property svn:ignore
-
branches/simtest_nebulous_branches/magic/remove
-
Property svn:ignore
set to
configure
Makefile.in
Doxyfile
config.log
depcomp
config.status
config.guess
ltmain.sh
config.sub
autom4te.cache
libtool
missing
Makefile
aclocal.m4
install-sh
-
Property svn:ignore
set to
-
branches/simtest_nebulous_branches/magic/remove/src
- Property svn:ignore
-
old new 4 4 streakscompare 5 5 streaksrelease 6 makefile 6 Makefile 7 Makefile.in 8 config.h 9 .deps 10 streaksVersionDefinitions.h 11 config.h.in 12 stamp-h1
-
- Property svn:ignore
-
branches/simtest_nebulous_branches/magic/remove/src/streakscompare.c
r21156 r27840 1 1 #include "streaksremove.h" 2 3 char *streaksProgram = "streakscompare"; 2 4 3 5 static pmConfig * parseArguments(int, char **); … … 5 7 int main(int argc, char *argv[]) 6 8 { 7 long i;8 9 bool status; 9 10 … … 35 36 int numErrors = 0; 36 37 for (int component = 0; component < ncomponents; component++) { 37 if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 38 if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 38 39 && psFitsMoveExtNum(file2->fits, 1, true))) { 39 40 streaksExit("failed to advance to next extesion\n", PS_EXIT_DATA_ERROR); … … 45 46 psImage *image2 = file2->image; 46 47 47 // TODO: do more sanity checking. For example check that extname's (if any) match 48 // TODO: do more sanity checking. For example check that extname's (if any) match 48 49 // check for matching image cubes 49 50 if (image1 && image2) { … … 68 69 error = ! isnan(value1) && isnan(value2); 69 70 } 70 71 71 72 if (error) { 72 73 numErrors++;
Note:
See TracChangeset
for help on using the changeset viewer.
