timelined_array 0.0.9__tar.gz → 0.0.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: timelined_array
3
- Version: 0.0.9
3
+ Version: 0.0.10
4
4
  Summary: Manage easily 1 or multidimensionnal samples numpy arrays that are time related. Extends numpy without removing any of it's abilities on such arrays.
5
5
  Author-Email: Timothe Jost <timothe.jost@wanadoo.fr>
6
6
  License: MIT
@@ -10,7 +10,7 @@ dependencies = [
10
10
  requires-python = ">=3.11"
11
11
  readme = "README.md"
12
12
  dynamic = []
13
- version = "0.0.9"
13
+ version = "0.0.10"
14
14
 
15
15
  [project.license]
16
16
  text = "MIT"
@@ -0,0 +1,3 @@
1
+ __version__ = "0.0.10"
2
+
3
+ from .time import TimelinedArray, MaskedTimelinedArray
@@ -182,8 +182,8 @@ class TimeIndexer:
182
182
  self.set_edge_policy(start, stop)
183
183
 
184
184
  def set_edge_policy(self, start="inclusive", stop="exclusive"):
185
- self._start_operation = EdgePolicy["start"].value[start]
186
- self._stop_operation = EdgePolicy["stop"].value[stop]
185
+ self._start_operation = EdgePolicy["start"].value[start].value
186
+ self._stop_operation = EdgePolicy["stop"].value[stop].value
187
187
  return self
188
188
 
189
189
  def time_to_index(
@@ -1,3 +0,0 @@
1
- __version__ = "0.0.9"
2
-
3
- from .time import TimelinedArray, MaskedTimelinedArray, Seconds, Boundary