Skip to content
Snippets Groups Projects
Unverified Commit 43f6b348 authored by Austin Sanders's avatar Austin Sanders Committed by GitHub
Browse files

Address ValueError on np.hstack (#201)

* Addressed hstack ValueError

* Updated changelog
parent cd781053
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ release. ...@@ -34,6 +34,8 @@ release.
--> -->
## [Unreleased] ## [Unreleased]
### Fixed
- Fixed a bug in which read_ipf_str() returned a ValueError [#200](https://github.com/DOI-USGS/plio/issues/200)
## [1.5.4]() ## [1.5.4]()
### Fixed ### Fixed
......
...@@ -100,7 +100,7 @@ def read_ipf_str(input_data): ...@@ -100,7 +100,7 @@ def read_ipf_str(input_data):
max_rows = 1, delimiter = ',') max_rows = 1, delimiter = ',')
d = [line.split() for line in open(input_data, 'r')] d = [line.split() for line in open(input_data, 'r')]
d = np.hstack(np.array(d[3:])) d = np.hstack(np.array(d[3:], dtype=object))
d = d.reshape(-1, 12).astype('unicode') d = d.reshape(-1, 12).astype('unicode')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment