Unverified Commit 6d7964c5 authored by Kristin's avatar Kristin Committed by GitHub
Browse files

Merge pull request #629 from scsides/dev

Fix cubeit so it does not transfer tracking info. Fixes #5533
parents 3943057b f26bb035
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -79,6 +79,9 @@
       Modified Makefile of badinputs app test to truncate paths before data directory. Allows tests
       to pass when not using the default data area. Fixes #4783.
     </change>
     <change name="Stuart Sides" date="2018-11-19">
       Removed the tracking label group if it exists in the output cube. Fixes #5533.
     </change>
     </history>

  <groups>
+7 −0
Original line number Diff line number Diff line
@@ -183,6 +183,13 @@ void IsisMain() {
    ocube->deleteBlob("Table", "InputImages");
  }

  // Delete the Tracking group if it exists (3.6.0 and up)
  // The tracking group could be transfered from the first input cube, but it does not
  // represent the images used in any other band after cubeit.
  if(ocube->hasGroup("Tracking")) {
    ocube->deleteGroup("Tracking");
  }

  p2.EndProcess();

 // Now loop and mosaic in each cube