Loading isis/src/base/apps/getsn/getsn.cpp +10 −14 Original line number Diff line number Diff line Loading @@ -34,16 +34,12 @@ void IsisMain() { bool WriteObservation = ui.GetBoolean("OBSERVATION"); QString format = ui.GetString("FORMAT"); bool pvl = true; bool pvl; if (format == "PVL") { pvl = true; } else if (format == "FLAT") { pvl = false; } else { QString msg = "Invalid format QString [" + format + "]"; throw IException(IException::User, msg, _FILEINFO_); pvl = false; } // Extract label from cube file Loading isis/src/base/apps/getsn/getsn.xml +18 −14 Original line number Diff line number Diff line Loading @@ -42,6 +42,10 @@ Added FORMAT option to choose between PVL and FLAT format. Effects output file only, default is still PVL. </change> <change name="Kaitlyn Lee" date="2018-01-17"> Removed unreachable else clause that assumed more than two options are allowed to be entered for the parameter FORMAT. </change> </history> <groups> Loading Loading
isis/src/base/apps/getsn/getsn.cpp +10 −14 Original line number Diff line number Diff line Loading @@ -34,16 +34,12 @@ void IsisMain() { bool WriteObservation = ui.GetBoolean("OBSERVATION"); QString format = ui.GetString("FORMAT"); bool pvl = true; bool pvl; if (format == "PVL") { pvl = true; } else if (format == "FLAT") { pvl = false; } else { QString msg = "Invalid format QString [" + format + "]"; throw IException(IException::User, msg, _FILEINFO_); pvl = false; } // Extract label from cube file Loading
isis/src/base/apps/getsn/getsn.xml +18 −14 Original line number Diff line number Diff line Loading @@ -42,6 +42,10 @@ Added FORMAT option to choose between PVL and FLAT format. Effects output file only, default is still PVL. </change> <change name="Kaitlyn Lee" date="2018-01-17"> Removed unreachable else clause that assumed more than two options are allowed to be entered for the parameter FORMAT. </change> </history> <groups> Loading