Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Oct 22, 2024
1 parent bdd857e commit c194d02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Improvements
* Removed unnecessary import checks for scipy, h5py, and zarr [PR #364](https://github.com/catalystneuro/roiextractors/pull/364)
* Improved the error message for the `set_timestamps` method in the `ImagingExtractor` class[PR #377](https://github.com/catalystneuro/roiextractors/pull/377)
* Renamed `MiniscopeImagingExtractor` to`MiniscopeMultiRecordingImagingExtractor` class[PR #374](https://github.com/catalystneuro/roiextractors/pull/374)

### Testing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import re
from pathlib import Path
from typing import Optional, Tuple, List
import warnings

import numpy as np

Expand Down Expand Up @@ -49,7 +50,7 @@ class MiniscopeMultiRecordingImagingExtractor(MultiImagingExtractor):
as a unified, continuous dataset.
"""

extractor_name = "MiniscopeMultiImaging"
extractor_name = "MiniscopeMultiRecordingImagingExtractor"
is_writable = True
mode = "folder"

Expand Down Expand Up @@ -90,7 +91,15 @@ def __init__(self, folder_path: PathType):


# Temporary renaming to keep backwards compatibility
MiniscopeImagingExtractor = MiniscopeMultiRecordingImagingExtractor
class MiniscopeImagingExtractor(MiniscopeMultiRecordingImagingExtractor):
def __init__(self, *args, **kwargs):
warnings.warn(
"MiniscopeImagingExtractor is unstable and might change its signature. "
"Please use MiniscopeMultiRecordingImagingExtractor instead.",
DeprecationWarning,
stacklevel=2,
)
super().__init__(*args, **kwargs)


class _MiniscopeSingleVideoExtractor(ImagingExtractor):
Expand Down

0 comments on commit c194d02

Please sign in to comment.