Commit 46deaeb3 authored by Jeannie Backer's avatar Jeannie Backer
Browse files

fixed logical errors.

parent 8e1761d6
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ namespace Isis {
    
    // Get the input Isis cube label and find the BandBin group if it has one
    if (m_imageType == StandardImage) {
      imageBandBin();
      translateBandBinImage();
    }
    else {
      // Add header info
@@ -425,16 +425,17 @@ namespace Isis {
                "xmlns:sp", 
                "http://pds.nasa.gov/pds4/sp/v1");
      if (m_imageType == UniformlySampledSpectrum) {
        imageBandBinSpectrum();
        translateBandBinSpectrumUniform();
      }
      else if (m_imageType == BinSetSpectrum) {
        imageBandBinSpectrumBinSet();
        translateBandBinSpectrumBinSet();
      }
    }
  }


  void ProcessExportPds4::translateBandBinImage() {
    Pvl *inputLabel = InputCubes[0]->label(); 
    QString translationFile = "$base/translations/";
    translationFile += "pds4ExportBandBinImage.trn";
    FileName translationFileName(translationFile);
@@ -444,6 +445,7 @@ namespace Isis {


  void ProcessExportPds4::translateBandBinSpectrumUniform() {
    Pvl *inputLabel = InputCubes[0]->label(); 
    QString translationFile = "$base/translations/";
    translationFile += "pds4ExportBandBinSpectrumUniform.trn";
    FileName translationFileName(translationFile);
@@ -583,6 +585,7 @@ namespace Isis {


  void ProcessExportPds4::translateBandBinSpectrumBinSet() {
    Pvl *inputLabel = InputCubes[0]->label(); 
    QString translationFile = "$base/translations/";
    translationFile += "pds4ExportBandBinSpectrumBinSet.trn";
    FileName translationFileName(translationFile);
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ void IsisMain() {

    ProcessExportPds4::translateUnits(pdsLabel);

 6hbg41} 
  } 
  else { // AMICA

    QDomDocument &pdsLabel = process.StandardPds4Label();