Loading CHANGELOG.md +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ release. ## [Unreleased] ### Fixed - Updated `create_pvl_header()` to add a newline (`\n`) character to the end of the pvl string. This ensures that the control networks can be written, then read back in using pvl 1.3.0 [#193](https://github.com/USGS-Astrogeology/plio/pull/193) ## [1.5.3]() ### Fixed Loading plio/io/io_controlnetwork.py +2 −2 Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ class IsisStore(object): Given an ISIS store, read the underlying ISIS3 compatible control network and return an IsisControlNetwork dataframe. """ pvl_header = pvl.load(self._path, grammar=pvl.grammar.ISISGrammar()) pvl_header = pvl.load(self._path) header_start_byte = find_in_dict(pvl_header, 'HeaderStartByte') header_bytes = find_in_dict(pvl_header, 'HeaderBytes') point_start_byte = find_in_dict(pvl_header, 'PointsStartByte') Loading Loading @@ -499,4 +499,4 @@ class IsisStore(object): ) ]) return pvl.dumps(header, encoder=encoder) return pvl.dumps(header, encoder=encoder) + "\n" Loading
CHANGELOG.md +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ release. ## [Unreleased] ### Fixed - Updated `create_pvl_header()` to add a newline (`\n`) character to the end of the pvl string. This ensures that the control networks can be written, then read back in using pvl 1.3.0 [#193](https://github.com/USGS-Astrogeology/plio/pull/193) ## [1.5.3]() ### Fixed Loading
plio/io/io_controlnetwork.py +2 −2 Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ class IsisStore(object): Given an ISIS store, read the underlying ISIS3 compatible control network and return an IsisControlNetwork dataframe. """ pvl_header = pvl.load(self._path, grammar=pvl.grammar.ISISGrammar()) pvl_header = pvl.load(self._path) header_start_byte = find_in_dict(pvl_header, 'HeaderStartByte') header_bytes = find_in_dict(pvl_header, 'HeaderBytes') point_start_byte = find_in_dict(pvl_header, 'PointsStartByte') Loading Loading @@ -499,4 +499,4 @@ class IsisStore(object): ) ]) return pvl.dumps(header, encoder=encoder) return pvl.dumps(header, encoder=encoder) + "\n"