Commit 29a64578 authored by Summer Stapleton's avatar Summer Stapleton Committed by Kristin
Browse files

Fixing errors introduced with the changes to ProcessExportPds4.cpp for the tgo sprint. (#3202)

parent 3f568f4a
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -304,18 +304,11 @@ namespace Isis {
          if (startTime.text() == "") {
            startTime.setAttribute("xsi:nil", "true");
          }
          else {
            QString timeValue = startTime.text();
            PvlToXmlTranslationManager::resetElementValue(startTime, timeValue + "Z");
          }

          QDomElement stopTime  = timeNode.firstChildElement("stop_date_time"); 
          if (stopTime.text() == "") {
            stopTime.setAttribute("xsi:nil", "true");
          }
          else {
            QString timeValue = stopTime.text();
            PvlToXmlTranslationManager::resetElementValue(stopTime, timeValue + "Z");
          }

          QStringList xmlPath;
          xmlPath << "Product_Observational"
+2 −2
Original line number Diff line number Diff line
@@ -335,7 +335,7 @@ void translateLabels(FileName &inputLabel, Cube *outputCube, QString instTransFi
  PvlKeyword *startTime = &outputLabel->findGroup("Instrument", Pvl::Traverse)["StartTime"];
  QString startTimeString = startTime[0];
  if (startTimeString.endsWith("Z", Qt::CaseInsensitive)) {
    startTimeString.chop(2);
    startTimeString.chop(1);
    startTime->setValue(startTimeString);
  }

@@ -343,7 +343,7 @@ void translateLabels(FileName &inputLabel, Cube *outputCube, QString instTransFi
    PvlKeyword *stopTime = &outputLabel->findGroup("Instrument", Pvl::Traverse)["StopTime"]; 
    QString stopTimeString = stopTime[0];
    if (stopTimeString.endsWith("Z", Qt::CaseInsensitive)){
      stopTimeString.chop(2);
      stopTimeString.chop(1);
      stopTime->setValue(stopTimeString);
    }
  }