Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Commit ade56a9

Browse files
committed
Update changelog; Typo in NB 02; remove dummy func from export
1 parent 81fd1ca commit ade56a9

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.2.1] - 2022-07-22
7+
+ Add - Mention CodeBook data directory in notebooks
8+
+ Update - Remove directory assertion in notebooks for CodeBook deployment
9+
+ Update - Move all export functions from `pipeline` to `export` script
10+
611
## [0.2.0] - 2022-07-08
712

813
+ Add - Adopt black formatting into code base

notebooks/02-workflow-structure-optional.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"\n",
189189
"- `<table>()` show table contents\n",
190190
"- `heading` shows attribute definitions\n",
191-
"- `describe()` show table defintiion with foreign key references"
191+
"- `describe()` show table definition with foreign key references"
192192
]
193193
},
194194
{

workflow_array_ephys/export.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,14 @@
88
"element_lab_to_nwb_dict",
99
"subject_to_nwb",
1010
"session_to_nwb",
11-
"ecephys_session_to_nwb",
12-
"write_nwb",
1311
]
1412

1513
# Import ephys NWB export functions
1614
if ephys_mode == "no-curation":
1715
from element_array_ephys.export.nwb import ecephys_session_to_nwb, write_nwb
1816
else:
19-
missing_ephys_warning = (
17+
print(
2018
f"Warning: ephys export requires the no-curation ephys_mode. To use it,\n\t"
2119
+ "try setting datajoint.config['custom']['ephys_mode'] to 'no-curation'\n\t"
2220
+ "and restarting your kernel."
2321
)
24-
25-
def ecephys_session_to_nwb(*args):
26-
return missing_ephys_warning
27-
28-
def write_nwb(*args):
29-
return missing_ephys_warning
30-
31-
print(missing_ephys_warning)

0 commit comments

Comments
 (0)