diff --git a/src/synth_mapping_helper/__init__.py b/src/synth_mapping_helper/__init__.py index bdaee0e..883ea68 100644 --- a/src/synth_mapping_helper/__init__.py +++ b/src/synth_mapping_helper/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.9.0" +__version__ = "0.9.1" from . import movement from . import pattern_generation diff --git a/src/synth_mapping_helper/rails.py b/src/synth_mapping_helper/rails.py index ea83f7a..ec36ee9 100644 --- a/src/synth_mapping_helper/rails.py +++ b/src/synth_mapping_helper/rails.py @@ -21,7 +21,7 @@ def interpolate_spline(data: "numpy array (n, m)", new_z: "numpy array (x)") -> pchip_interpolate(padded_data[:, 2], padded_data[:, 0], new_z), pchip_interpolate(padded_data[:, 2], padded_data[:, 1], new_z), new_z, - ), axis=-1)[1:-1] + ), axis=-1) def get_position_at(notes: SINGLE_COLOR_NOTES, beat: float, interpolate_gaps: bool = True) -> "numpy array (2)": # single note