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

Commit 5ab1424

Browse files
authored
Merge branch 'datajoint:main' into main
2 parents ab2daf1 + e96b0cf commit 5ab1424

File tree

12 files changed

+1122
-23
lines changed

12 files changed

+1122
-23
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@ RUN \
2525
# dircolors -b >> /home/vscode/.bashrc && \ # somehow fix colors
2626
apt-get clean
2727
COPY ./requirements.txt /tmp/
28+
COPY ./requirements_dev.txt /tmp/
2829
RUN \
2930
# workflow dependencies
3031
apt-get install gcc ffmpeg libsm6 libxext6 -y && \
3132
pip install --no-cache-dir -r /tmp/requirements.txt && \
33+
pip install --no-cache-dir -r /tmp/requirements_dev.txt && \
3234
rm /tmp/requirements.txt && \
35+
rm /tmp/requirements_dev.txt && \
3336
apt-get clean
3437

3538
ENV DJ_HOST fakeservices.datajoint.io

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// For format details, see https://aka.ms/devcontainer.json.
22
{
3-
"name": "Remote Demo",
3+
"name": "Demo with remote data",
44
"dockerComposeFile": "docker-compose.yaml",
55
"service": "app",
66
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

.devcontainer/local/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// For format details, see https://aka.ms/devcontainer.json.
22
{
3-
"name": "Local Demo",
3+
"name": "Demo with local data",
44
"dockerComposeFile": "docker-compose.yaml",
55
"service": "app",
66
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,5 @@ docker-compose.yml
109109
# temporary figures
110110
temp_ephys_figures/
111111

112-
example_data
112+
example_data
113+
*.code-workspace

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
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.3.2] - 2023-04-14
7+
8+
+ Add - `quality_metrics.ipynb` for visualizing quality metrics.
9+
+ Add - Documentation for attributes in `ephys.QualityMetrics.Waveform`.
10+
+ Update - pytest for `ephys.QualityMetrics.populate`.
11+
612
## [0.3.1] - 2023-04-12
713

814
+ Add - pytest for new `QCmetric` tables.
@@ -87,6 +93,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
8793

8894
+ Add - Version
8995

96+
[0.3.2]: https://github.com/datajoint/workflow-array-ephys/releases/tag/0.3.2
9097
[0.3.1]: https://github.com/datajoint/workflow-array-ephys/releases/tag/0.3.1
9198
[0.3.0]: https://github.com/datajoint/workflow-array-ephys/releases/tag/0.3.0
9299
[0.2.6]: https://github.com/datajoint/workflow-array-ephys/releases/tag/0.2.6

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ The easiest way to learn about DataJoint Elements is to use the tutorial noteboo
2626

2727
Here are some options that provide a great experience:
2828

29-
- **Cloud-based IDE**: (*recommended*)
29+
- Cloud-based Development Environment: (*recommended*)
3030
- Launch using [GitHub Codespaces](https://github.com/features/codespaces) using the `+` option which will `Create codespace on main` in the codebase repository on your fork with default options. For more control, see the `...` where you may create `New with options...`.
3131
- Build time for a codespace is **~7m**. This is done infrequently and cached for convenience.
3232
- Start time for a codespace is **~30s**. This will pull the built codespace from cache when you need it.
3333
- *Tip*: Each month, GitHub renews a [free-tier](https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts) quota of compute and storage. Typically we run into the storage limits before anything else since Codespaces consume storage while stopped. It is best to delete Codespaces when not actively in use and recreate when needed. We'll soon be creating prebuilds to avoid larger build times. Once any portion of your quota is reached, you will need to wait for it to be reset at the end of your cycle or add billing info to your GitHub account to handle overages.
3434
- *Tip*: GitHub auto names the codespace but you can rename the codespace so that it is easier to identify later.
35-
- **Local IDE**:
36-
- Ensure you have [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
37-
- Ensure you have [Docker](https://docs.docker.com/get-docker/)
38-
- Ensure you have [VSCode](https://code.visualstudio.com/)
39-
- Install the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
35+
- Local Development Environment:
36+
- Note: On Windows, running the tutorial notebook with the example data in a Dev Container is not currently possible due to a s3fs mounting issue. Please use the `Cloud-based Development Environment` option above.
37+
- Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
38+
- Install [Docker](https://docs.docker.com/get-docker/)
39+
- Install [VSCode](https://code.visualstudio.com/)
40+
- Install the VSCode [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
4041
- `git clone` the codebase repository and open it in VSCode
4142
- Use the `Dev Containers extension` to `Reopen in Container` (More info in the `Getting started` included with the extension)
4243

notebooks/demo_prepare.ipynb

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
" insertion_number=1,\n",
141141
" paramset_idx=1,\n",
142142
" task_mode='load', # load or trigger\n",
143-
" clustering_output_dir=\"subject5/session1/probe_1/ks2.1_01\"\n",
143+
" clustering_output_dir=\"subject5/session1/probe_1/kilosort2-5_1\"\n",
144144
" )\n",
145145
")\n",
146146
"\n",
@@ -204,13 +204,6 @@
204204
"\n",
205205
"# drop_databases(databases=['analysis', 'trial', 'event', 'ephys_report', 'ephys', 'probe', 'session', 'subject', 'project', 'lab'])\n"
206206
]
207-
},
208-
{
209-
"cell_type": "code",
210-
"execution_count": null,
211-
"metadata": {},
212-
"outputs": [],
213-
"source": []
214207
}
215208
],
216209
"metadata": {
@@ -229,7 +222,7 @@
229222
"name": "python",
230223
"nbconvert_exporter": "python",
231224
"pygments_lexer": "ipython3",
232-
"version": "3.9.2"
225+
"version": "3.9.16"
233226
},
234227
"orig_nbformat": 4,
235228
"vscode": {

0 commit comments

Comments
 (0)