Skip to content

Commit

Permalink
Pointid prefix (#214)
Browse files Browse the repository at this point in the history
* Fixed prefixes/suffixes for pointid

* Updated changelog
  • Loading branch information
AustinSanders authored Jan 3, 2025
1 parent f1da73c commit 536b435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ release.
-->

## [Unreleased]
### Fixed
- Fixed a bug in which prefixes and suffixes were not properly prepended/appended to point_id [#213](https://github.com/DOI-USGS/plio/issues/213)

# [1.6.0]()

Expand Down
2 changes: 2 additions & 0 deletions plio/io/io_controlnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ def _set_pid(pointid):
# Un-mangle common attribute names between points and measures
df_attr = self.point_field_map.get(attr, attr)
if df_attr in g.columns:
if df_attr == 'id':
continue
if df_attr == 'pointLog':
# Currently pointLog is not supported.
warnings.warn('The pointLog field is currently unsupported. Any pointLog data will not be saved.')
Expand Down

0 comments on commit 536b435

Please sign in to comment.