Skip to content

Commit

Permalink
Deprecate util.lcs_coords_from_ts (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhirtham authored Jul 15, 2021
1 parent e51d7cb commit d29a2de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

### deprecations

- `lcs_coords_from_ts` will be removed in version 0.5.0 [[#426]](https://github.com/BAMWelDX/weldx/pull/426)

### dependencies

## 0.4.0 (13.07.2021)
Expand Down
6 changes: 6 additions & 0 deletions weldx/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ def sine(
return TimeSeries(expr)


@deprecated(
"0.4.1",
"0.5.0",
"The 'LocalCoordinateSystem' now supports 'TimeSeries' as coordinates rendering "
"this function obsolete.",
)
def lcs_coords_from_ts(
ts: TimeSeries, time: Union[pd.DatetimeIndex, pint.Quantity]
) -> xr.DataArray:
Expand Down

0 comments on commit d29a2de

Please sign in to comment.