Loading isis/src/base/objs/ProcessExportPds4/ProcessExportPds4.cpp +6 −6 Original line number Original line Diff line number Diff line Loading @@ -438,7 +438,7 @@ namespace Isis { QString translationFile = "$base/translations/"; QString translationFile = "$base/translations/"; translationFile += "pds4ExportBandBinImage.trn"; translationFile += "pds4ExportBandBinImage.trn"; FileName translationFileName(translationFile); FileName translationFileName(translationFile); PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded()); PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded()); xlator.Auto(*m_domDoc); xlator.Auto(*m_domDoc); } } Loading @@ -447,10 +447,10 @@ namespace Isis { QString translationFile = "$base/translations/"; QString translationFile = "$base/translations/"; translationFile += "pds4ExportBandBinSpectrumUniform.trn"; translationFile += "pds4ExportBandBinSpectrumUniform.trn"; FileName translationFileName(translationFile); FileName translationFileName(translationFile); PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded()); PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded()); xlator.Auto(*m_domDoc); xlator.Auto(*m_domDoc); PvlGroup bandBinGroup = inputLabel->findObject("IsisCube").findGroup("BandBin"); PvlGroup bandBinGroup = inputLabel.findObject("IsisCube").findGroup("BandBin"); // fix multi-valued bandbin info // fix multi-valued bandbin info QStringList xmlPath; QStringList xmlPath; xmlPath << "Product_Observational" xmlPath << "Product_Observational" Loading Loading @@ -529,7 +529,7 @@ namespace Isis { axisBinSetElement = m_domDoc->createElement("sp:Axis_Bin_Set"); axisBinSetElement = m_domDoc->createElement("sp:Axis_Bin_Set"); spectralCharElement.appendChild(axisBinSetElement); spectralCharElement.appendChild(axisBinSetElement); } } int bands = (int)inputLabel->findObject("IsisCube") int bands = (int)inputLabel.findObject("IsisCube") .findObject("Core") .findObject("Core") .findGroup("Dimensions") .findGroup("Dimensions") .findKeyword("Bands"); .findKeyword("Bands"); Loading Loading @@ -586,10 +586,10 @@ namespace Isis { QString translationFile = "$base/translations/"; QString translationFile = "$base/translations/"; translationFile += "pds4ExportBandBinSpectrumBinSet.trn"; translationFile += "pds4ExportBandBinSpectrumBinSet.trn"; FileName translationFileName(translationFile); FileName translationFileName(translationFile); PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded()); PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded()); xlator.Auto(*m_domDoc); xlator.Auto(*m_domDoc); PvlGroup bandBinGroup = inputLabel->findObject("IsisCube").findGroup("BandBin"); PvlGroup bandBinGroup = inputLabel.findObject("IsisCube").findGroup("BandBin"); // fix multi-valued bandbin info // fix multi-valued bandbin info QStringList xmlPath; QStringList xmlPath; xmlPath << "Product_Observational" xmlPath << "Product_Observational" Loading Loading
isis/src/base/objs/ProcessExportPds4/ProcessExportPds4.cpp +6 −6 Original line number Original line Diff line number Diff line Loading @@ -438,7 +438,7 @@ namespace Isis { QString translationFile = "$base/translations/"; QString translationFile = "$base/translations/"; translationFile += "pds4ExportBandBinImage.trn"; translationFile += "pds4ExportBandBinImage.trn"; FileName translationFileName(translationFile); FileName translationFileName(translationFile); PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded()); PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded()); xlator.Auto(*m_domDoc); xlator.Auto(*m_domDoc); } } Loading @@ -447,10 +447,10 @@ namespace Isis { QString translationFile = "$base/translations/"; QString translationFile = "$base/translations/"; translationFile += "pds4ExportBandBinSpectrumUniform.trn"; translationFile += "pds4ExportBandBinSpectrumUniform.trn"; FileName translationFileName(translationFile); FileName translationFileName(translationFile); PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded()); PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded()); xlator.Auto(*m_domDoc); xlator.Auto(*m_domDoc); PvlGroup bandBinGroup = inputLabel->findObject("IsisCube").findGroup("BandBin"); PvlGroup bandBinGroup = inputLabel.findObject("IsisCube").findGroup("BandBin"); // fix multi-valued bandbin info // fix multi-valued bandbin info QStringList xmlPath; QStringList xmlPath; xmlPath << "Product_Observational" xmlPath << "Product_Observational" Loading Loading @@ -529,7 +529,7 @@ namespace Isis { axisBinSetElement = m_domDoc->createElement("sp:Axis_Bin_Set"); axisBinSetElement = m_domDoc->createElement("sp:Axis_Bin_Set"); spectralCharElement.appendChild(axisBinSetElement); spectralCharElement.appendChild(axisBinSetElement); } } int bands = (int)inputLabel->findObject("IsisCube") int bands = (int)inputLabel.findObject("IsisCube") .findObject("Core") .findObject("Core") .findGroup("Dimensions") .findGroup("Dimensions") .findKeyword("Bands"); .findKeyword("Bands"); Loading Loading @@ -586,10 +586,10 @@ namespace Isis { QString translationFile = "$base/translations/"; QString translationFile = "$base/translations/"; translationFile += "pds4ExportBandBinSpectrumBinSet.trn"; translationFile += "pds4ExportBandBinSpectrumBinSet.trn"; FileName translationFileName(translationFile); FileName translationFileName(translationFile); PvlToXmlTranslationManager xlator(*inputLabel, translationFileName.expanded()); PvlToXmlTranslationManager xlator(inputLabel, translationFileName.expanded()); xlator.Auto(*m_domDoc); xlator.Auto(*m_domDoc); PvlGroup bandBinGroup = inputLabel->findObject("IsisCube").findGroup("BandBin"); PvlGroup bandBinGroup = inputLabel.findObject("IsisCube").findGroup("BandBin"); // fix multi-valued bandbin info // fix multi-valued bandbin info QStringList xmlPath; QStringList xmlPath; xmlPath << "Product_Observational" xmlPath << "Product_Observational" Loading