Commit b7655293 authored by Cole Neubauer's avatar Cole Neubauer
Browse files

Added new Cisscal tests Fixes #4708

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@8016 41f8697f-d340-4b68-9986-7bafba869bb8
parent 474a56d2
Loading
Loading
Loading
Loading
+85 −85
Original line number Diff line number Diff line
@@ -1083,7 +1083,9 @@ namespace Isis {
          p_hotpixfile = FileName(fileList[i]);
      }
    }

    p_hotpixfile = darkDir + p_hotpixfile.baseName() + ".tab";

    return;
  }//end FindDarkFiles

@@ -1196,6 +1198,8 @@ namespace Isis {
      dparamCube.read(*darkCoefficients);
      dparamCube.close();

      if (p_hotpixfile.baseName() != "") {
        std::cout << p_hotpixfile.baseName() << '\n';
        CisscalFile *hotPixFile = new CisscalFile(p_hotpixfile.expanded());
        int num_params = 8;
        long numHotPixels = hotPixFile->LineCount();
@@ -1288,12 +1292,8 @@ namespace Isis {
            }
          }
        }
      for(int x = 0; x < 256 ; x ++) {
        for (int y = 0; y < 256 ; y++) {
          for (int j = 0; j < 8; j++){
          }
        }
      }

      // Assume WAC dark current is 0 for 0.005 ms. This is not the case for
      // the NAC where there are negative values near the left edge of the frame:
      if(!p_narrow) {
+12 −0
Original line number Diff line number Diff line
APPNAME = cisscal

N1536363784_1.truth.cub.TOLERANCE = 1.0e-5

include $(ISISROOT)/make/isismake.tsts


commands:
	$(APPNAME) from=$(INPUT)/N1465676754_2.cub \
	to=$(OUTPUT)/N1465676754_2.truth.cub \
	> /dev/null;
	catlab from=$(OUTPUT)/N1465676754_2.truth.cub to=$(OUTPUT)/labels.truth.pvl > /dev/null;
+12 −0
Original line number Diff line number Diff line
APPNAME = cisscal

N1536363784_1.truth.cub.TOLERANCE = 1.0e-5

include $(ISISROOT)/make/isismake.tsts


commands:
	$(APPNAME) from=$(INPUT)/N1523990676_1.cub \
	to=$(OUTPUT)/N1523990676_1.truth.cub \
	> /dev/null;
	catlab from=$(OUTPUT)/N1523990676_1.truth.cub to=$(OUTPUT)/labels.truth.pvl > /dev/null;
+12 −0
Original line number Diff line number Diff line
APPNAME = cisscal

N1536363784_1.truth.cub.TOLERANCE = 1.0e-5

include $(ISISROOT)/make/isismake.tsts


commands:
	$(APPNAME) from=$(INPUT)/N1523990693_1.cub \
	to=$(OUTPUT)/N1523990693_1.truth.cub \
	> /dev/null;
	catlab from=$(OUTPUT)/N1523990693_1.truth.cub to=$(OUTPUT)/labels.truth.pvl > /dev/null;
+12 −0
Original line number Diff line number Diff line
APPNAME = cisscal

N1536363784_1.truth.cub.TOLERANCE = 1.0e-5

include $(ISISROOT)/make/isismake.tsts


commands:
	$(APPNAME) from=$(INPUT)/N1523990710_1.cub \
	to=$(OUTPUT)/N1523990710_1.truth.cub \
	> /dev/null;
	catlab from=$(OUTPUT)/N1523990710_1.truth.cub to=$(OUTPUT)/labels.truth.pvl > /dev/null;
Loading