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

Commit 39eaa80

Browse files
authored
Merge pull request #69 from kabilar/main
Update requirements, changelog, and version for release
2 parents 26a8bf6 + cab0c35 commit 39eaa80

12 files changed

+36
-39
lines changed

.datajoint_config.json

-15
This file was deleted.

CHANGELOG.md

+16-11
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,28 @@
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.1.0 - 2022-06-02
7+
8+
+ Update - Docker and Compose files
9+
+ Add - NWB export pytests
10+
611
## 0.1.0a4 - 2022-01-21
7-
### Added
8-
+ Created Docker and Compose files for active development.
12+
13+
+ Add - Create Docker and Compose files for active development.
914

1015
## 0.1.0a3 - 2022-01-18
11-
### Updated
12-
+ Updated notebooks
13-
+ Moved instructions to [datajoint-elements/install.md](
16+
17+
+ Update - Notebooks
18+
+ Update - Move instructions to [datajoint-elements/install.md](
1419
https://github.com/datajoint/datajoint-elements/blob/main/install.md).
15-
+ Updated Docker and Compose files for new base image and added options to install
20+
+ Update - Docker and Compose files for new base image and added options to install
1621
specific forks for tests.
1722

1823
## 0.1.0a2 - 2021-04-12
19-
### Updated
20-
+ Updated tests
21-
+ Changed version to reflect release phase.
24+
25+
+ Update - Pytests
26+
+ Update - Change version to reflect release phase.
2227

2328
## 0.1.1 - 2021-03-26
24-
### Added
25-
+ Added version
29+
30+
+ Add - Version

docker/Dockerfile.dev

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@ RUN /entrypoint.sh echo "Installed dependencies."
88
RUN mkdir /main/element-lab \
99
/main/element-animal \
1010
/main/element-session \
11-
/main/element-array-ephys \
1211
/main/element-interface \
12+
/main/element-array-ephys \
1313
/main/workflow-array-ephys
1414

1515
# Copy user's local fork of elements and workflow
1616
COPY --chown=anaconda:anaconda ./element-lab /main/element-lab
1717
COPY --chown=anaconda:anaconda ./element-animal /main/element-animal
1818
COPY --chown=anaconda:anaconda ./element-session /main/element-session
19-
COPY --chown=anaconda:anaconda ./element-array-ephys /main/element-array-ephys
2019
COPY --chown=anaconda:anaconda ./element-interface /main/element-interface
20+
COPY --chown=anaconda:anaconda ./element-array-ephys /main/element-array-ephys
2121
COPY --chown=anaconda:anaconda ./workflow-array-ephys /main/workflow-array-ephys
2222

2323
# Install packages
2424
RUN pip install -e /main/element-lab
2525
RUN pip install -e /main/element-animal
2626
RUN pip install -e /main/element-session
27+
RUN pip install -e /main/element-interface
2728
RUN pip install -e /main/element-array-ephys
2829
RUN pip install -e /main/workflow-array-ephys
29-
RUN pip install -e /main/element-interface
3030
RUN pip install -r /main/workflow-array-ephys/requirements_test.txt
3131

3232
WORKDIR /main/workflow-array-ephys

docker/Dockerfile.test

+3
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,21 @@ WORKDIR /main/workflow-array-ephys
2222
RUN mkdir /main/element-lab \
2323
/main/element-animal \
2424
/main/element-session \
25+
/main/element-interface \
2526
/main/element-array-ephys \
2627
/main/workflow-array-ephys
2728

2829
COPY --chown=anaconda:anaconda ./element-lab /main/element-lab
2930
COPY --chown=anaconda:anaconda ./element-animal /main/element-animal
3031
COPY --chown=anaconda:anaconda ./element-session /main/element-session
32+
COPY --chown=anaconda:anaconda ./element-interface /main/element-interface
3133
COPY --chown=anaconda:anaconda ./element-array-ephys /main/element-array-ephys
3234
COPY --chown=anaconda:anaconda ./workflow-array-ephys /main/workflow-array-ephys
3335

3436
RUN pip install -e /main/element-lab
3537
RUN pip install -e /main/element-animal
3638
RUN pip install -e /main/element-session
39+
RUN pip install -e /main/element-interface
3740
RUN pip install -e /main/element-array-ephys
3841
RUN rm -f /main/workflow-array-ephys/dj_local_conf.json
3942

docker/docker-compose-dev.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ services:
2828
- ../../element-lab:/main/element-lab
2929
- ../../element-animal:/main/element-animal
3030
- ../../element-session:/main/element-session
31+
- ../../element-interface:/main/element-interface
3132
- ../../element-array-ephys:/main/element-array-ephys
3233
- ../../element-interface:/main/element-interface
3334
- ..:/main/workflow-array-ephys

docker/docker-compose-test.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ services:
4242
- ../../element-lab:/main/element-lab
4343
- ../../element-animal:/main/element-animal
4444
- ../../element-session:/main/element-session
45+
- ../../element-interface:/main/element-interface
4546
- ../../element-array-ephys:/main/element-array-ephys
4647
- ..:/main/workflow-array-ephys
4748
depends_on:

notebooks/01-configure.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"outputs": [],
2727
"source": [
2828
"import os\n",
29-
"os.chdir('..')"
29+
"if os.path.basename(os.getcwd())=='notebooks': os.chdir('..')"
3030
]
3131
},
3232
{

notebooks/02-workflow-structure-optional.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"outputs": [],
3232
"source": [
3333
"import os\n",
34-
"os.chdir('..')"
34+
"if os.path.basename(os.getcwd())=='notebooks': os.chdir('..')"
3535
]
3636
},
3737
{

requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
datajoint>=0.13.0
2-
element-array-ephys==0.1.0b0
2+
element-array-ephys>=0.1.1
33
element-lab>=0.1.0b0
4-
element-animal==0.1.0b0
5-
element-session==0.1.0b0
4+
element-animal>=0.1.0b0
5+
element-session>=0.1.0b0
66
element-interface @ git+https://github.com/datajoint/element-interface.git
7-
ipykernel==6.0.1
7+
ipykernel>=6.0.1

user_data/sessions.csv

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
subject,session_dir
2-
subject6,/tmp/test_data/workflow-array-ephys-test-set/subject6/session1/
1+
subject,session_dir,session_note,user
2+
subject5,subject5/session1/,Successful data collection,User1
3+
subject6,subject6/session1/,Ambient temp abnormally low,User2

user_data/subjects.csv

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
subject,sex,subject_birth_date,subject_description
2-
subject6,M,2020-01-03,hneih_E105
2+
subject5,F,2020-01-01 00:00:01,
3+
subject6,F,2020-01-01 00:00:01,

workflow_array_ephys/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Package metadata
33
Update the Docker image tag in `docker-compose.yaml` to match
44
"""
5-
__version__ = '0.1.0a4'
5+
__version__ = '0.1.0'

0 commit comments

Comments
 (0)