Skip to content

Commit

Permalink
swap names
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Apr 30, 2024
1 parent 32449fa commit 0145141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nwb_benchmarks/benchmarks/time_remote_slicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def setup(self, s3_url: str, object_name: str, slice_range: Tuple[slice]):
self.neurodata_object = get_object_by_name(nwbfile=self.nwbfile, object_name=object_name)
self.data_to_slice = self.neurodata_object.data

def track_network_activity_during_slice(self, s3_url: str, object_name: str, slice_range: Tuple[slice]):
def time_slice(self, s3_url: str, object_name: str, slice_range: Tuple[slice]):
"""Track network activity for slicing into a Zarr dataset"""
self._temp = self.data_to_slice[slice_range]

Expand All @@ -189,6 +189,6 @@ def setup(self, s3_url: str, object_name: str, slice_range: Tuple[slice]):
self.neurodata_object = get_object_by_name(nwbfile=self.nwbfile, object_name=object_name)
self.data_to_slice = self.neurodata_object.data

def track_network_activity_during_slice(self, s3_url: str, object_name: str, slice_range: Tuple[slice]):
def time_slice(self, s3_url: str, object_name: str, slice_range: Tuple[slice]):
"""Track network activity for slicing into a Zarr dataset"""
self._temp = self.data_to_slice[slice_range]

0 comments on commit 0145141

Please sign in to comment.