Skip to content

Commit

Permalink
Fix botched merge2
Browse files Browse the repository at this point in the history
  • Loading branch information
krlberry authored Oct 29, 2020
1 parent e24b4ca commit fcb4d21
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions isis/tests/Fixtures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,53 +402,7 @@ namespace Isis {
}
}

void ObservationPair::SetUp() {
FileName labelPathL = FileName("data/observationPair/observationImageL.pvl");
FileName labelPathR = FileName("data/observationPair/observationImageR.pvl");

isdPathL = new FileName("data/observationPair/observationImageL.isd");
isdPathR = new FileName("data/observationPair/observationImageR.isd");

cubeL = new Cube();
cubeR = new Cube();

cubeLPath = tempDir.path() + "/observationPairL.cub";
cubeRPath = tempDir.path() + "/observationPairR.cub";

cubeL->fromIsd(cubeLPath, labelPathL, *isdPathL, "rw");
cubeR->fromIsd(cubeRPath, labelPathR, *isdPathR, "rw");

cubeList = new FileList();
cubeList->append(cubeL->fileName());
cubeList->append(cubeR->fileName());

cubeListFile = tempDir.path() + "/cubes.lis";
cubeList->write(cubeListFile);

cnetPath = "data/observationPair/observationPair.net";
network = new ControlNet();
network->ReadControl(cnetPath);
}


void ObservationPair::TearDown() {
delete cubeList;
delete network;

if (cubeL) {
delete cubeL;
}

if (cubeR) {
delete cubeR;
}

delete isdPathL;
delete isdPathR;

}



void ObservationPair::SetUp() {
FileName labelPathL = FileName("data/observationPair/observationImageL.pvl");
FileName labelPathR = FileName("data/observationPair/observationImageR.pvl");
Expand Down

0 comments on commit fcb4d21

Please sign in to comment.