Commit edabea6f authored by Kristin Berry's avatar Kristin Berry Committed by Makayla Shepherd
Browse files

Removed throws for not being able to populate Apriori or Adjusted surface...

Removed throws for not being able to populate Apriori or Adjusted surface points when reading in a v1 pvl control network.
parent 93a11961
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -91,10 +91,7 @@ namespace Isis {
      m_pointData->set_adjustedy( toDouble(pointObject["Longitude"][0]) );
      m_pointData->set_adjustedz( toDouble(pointObject["Radius"][0]) );
    }
    else {
      QString msg = "Unable to find adjusted surface point values for the control point.";
      throw IException(IException::Io, msg, _FILEINFO_);
    }


    // copy over the apriori surface point
    if ( pointObject.hasKeyword("AprioriLatitude")
@@ -117,10 +114,6 @@ namespace Isis {
      m_pointData->set_aprioriy( m_pointData->adjustedy() );
      m_pointData->set_aprioriz( m_pointData->adjustedz() );
    }
    else {
      QString msg = "Unable to find apriori surface point values for the control point.";
      throw IException(IException::Io, msg, _FILEINFO_);
    }

    // Ground points were previously flagged by the Held keyword being true.
    if (pointObject.hasKeyword("Held") && pointObject["Held"][0] == "True") {