Skip to content
Snippets Groups Projects
Unverified Commit 49a97755 authored by acpaquette's avatar acpaquette Committed by GitHub
Browse files

Pvl 1.3.0 Fix (#193)

* Fixed pvl writing in Plio for pvl = 1.3.0

* Updated change log

* Fixed change log typos

* Fixed more change log typos

* Fixed even more typos in change log
parent 5cfa1c0f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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')
......@@ -499,4 +499,4 @@ class IsisStore(object):
)
])
return pvl.dumps(header, encoder=encoder)
return pvl.dumps(header, encoder=encoder) + "\n"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment