Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMeans committed May 8, 2019
1 parent d7047d9 commit c7f7864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5726,7 +5726,7 @@ SWIG_AsVal_float (PyObject * obj, float *val)
SWIGINTERN nitf::ImageSegment nitf_Record_getImageSegment(nitf::Record *self,size_t index){
if (index >= self->getNumImages())
{
throw except::Exception(except::Context("../six/modules/python/six.sicd/source/six_sicd.i", 479, "", sys::TimeStamp().local(), "Index out of bounds"));
throw except::Exception(except::Context("../six/modules/python/six.sicd/source/six_sicd.i", 471, "", sys::TimeStamp().local(), "Index out of bounds"));
}
nitf::ListIterator iter = self->getImages().begin();
for (size_t ii = 0; ii < index; ++ii)
Expand All @@ -5739,7 +5739,7 @@ SWIGINTERN nitf::ImageSegment nitf_Record_getImageSegment(nitf::Record *self,siz
SWIGINTERN nitf::DESegment nitf_Record_getDataExtension(nitf::Record *self,size_t index){
if (index >= self->getNumDataExtensions())
{
throw except::Exception(except::Context("../six/modules/python/six.sicd/source/six_sicd.i", 494, "", sys::TimeStamp().local(), "Index out of bounds"));
throw except::Exception(except::Context("../six/modules/python/six.sicd/source/six_sicd.i", 486, "", sys::TimeStamp().local(), "Index out of bounds"));
}
nitf::ListIterator iter = self->getDataExtensions().begin();
for (size_t ii = 0; ii < index; ++ii)
Expand Down
8 changes: 0 additions & 8 deletions six/modules/python/six.sicd/source/six_sicd.i
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,6 @@ void writeNITF(const std::string& pathname, const std::vector<std::string>&
Data* readNITF(const std::string& pathname,
const std::vector<std::string>& schemaPaths);

/*
void cropSICD(const std::string& inPathname,
const std::vector<std::string>& schemaPaths,
const types::RowCol<size_t>& aoiOffset,
const types::RowCol<size_t>& aoiDims,
const std::string& outPathname);
*/

six::sicd::ComplexData* const cropMetaData(
const six::sicd::ComplexData* complexData,
const types::RowCol<size_t>& aoiOffset,
Expand Down

0 comments on commit c7f7864

Please sign in to comment.