Skip to content

Commit 4951b39

Browse files
author
Thinh Nguyen
committed
DEPRECATING NWB EXPORT
1 parent 9dd6b42 commit 4951b39

File tree

5 files changed

+2
-19
lines changed

5 files changed

+2
-19
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
55

66
## [0.1.0b4] - 2021-11-29
77
### Added
8-
+ NWB export
98
+ Processing with Kilosort and pyKilosort for Open Ephys and SpikeGLX
109

1110

element_array_ephys/ephys.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -763,12 +763,6 @@ def make(self, key):
763763
self.insert1(key)
764764
self.Unit.insert([{**key, **u} for u in units])
765765

766-
@classmethod
767-
def make_nwb(cls, curated_clustering_key):
768-
from .export import curated_clusterings_to_nwb
769-
nwbfile = _linking_module.Session.make_nwb(curated_clustering_key)
770-
return curated_clusterings_to_nwb(curated_clustering_key, nwbfile, ephys_module=__name__)
771-
772766

773767
@schema
774768
class WaveformSet(dj.Imported):

element_array_ephys/ephys_chronic.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -709,12 +709,6 @@ def make(self, key):
709709
self.insert1(key)
710710
self.Unit.insert([{**key, **u} for u in units])
711711

712-
@classmethod
713-
def make_nwb(cls, curated_clustering_key):
714-
from .export import curated_clusterings_to_nwb
715-
nwbfile = _linking_module.Session.make_nwb(curated_clustering_key)
716-
return curated_clusterings_to_nwb(curated_clustering_key, nwbfile, ephys_module=__name__)
717-
718712

719713
@schema
720714
class WaveformSet(dj.Imported):

element_array_ephys/ephys_no_curation.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -727,12 +727,6 @@ def make(self, key):
727727
self.insert1(key)
728728
self.Unit.insert([{**key, **u} for u in units])
729729

730-
@classmethod
731-
def make_nwb(cls, curated_clustering_key):
732-
from .export import curated_clusterings_to_nwb
733-
nwbfile = _linking_module.Session.make_nwb(curated_clustering_key)
734-
return curated_clusterings_to_nwb(curated_clustering_key, nwbfile, ephys_module=__name__)
735-
736730

737731
@schema
738732
class WaveformSet(dj.Imported):

element_array_ephys/export/nwb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# THIS IS DEPRECATED - TO BE REMOVED
2+
13
import datajoint as dj
24
import numpy as np
35
import json

0 commit comments

Comments
 (0)