-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from shenshan/master
Behavior bug fixes/Break transaction for big ingestions/Histology tables for resolved probe trajectories/Check data completeness of ProbeInsertions/Workshop tutorials
- Loading branch information
Showing
54 changed files
with
8,823 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
data/* | ||
snapshots/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM datajoint/djlab:py3.8-debian | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --upgrade datajoint | ||
|
||
COPY --chown=dja:anaconda ./iblenv.yaml /tmp/iblenv.yaml | ||
USER root | ||
RUN . /root/.bashrc | ||
RUN conda init bash | ||
RUN conda install conda-build | ||
RUN conda update -n base -c defaults conda | ||
RUN conda update --all | ||
RUN conda config --set channel_priority false | ||
RUN conda env create --file /tmp/iblenv.yaml | ||
RUN conda activate iblenv | ||
RUN pip install importlib_resource imageio | ||
RUN pip install --no-dependencies git+https://github.com/int-brain-lab/ibllib | ||
RUN pip install --no-dependencies git+https://github.com/int-brain-lab/iblapps | ||
RUN pip install --no-dependencies git+https://github.com/cortex-lab/phylib | ||
|
||
USER dja:anaconda | ||
ADD . /src/IBL-pipeline | ||
|
||
USER root | ||
RUN pip install -e --no-dependencies /src/IBL-pipeline | ||
RUN conda install -c conda-forge opencv -y | ||
COPY --chown=dja:anaconda ./apt_requirements.txt /tmp/apt_requirements.txt | ||
RUN apt update | ||
USER dja:anaconda | ||
RUN \ | ||
/entrypoint.sh echo "Requirements updated..." && \ | ||
rm "${APT_REQUIREMENTS}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3' | ||
services: | ||
datajoint_brain: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.brain | ||
container_name: ibl_datajoint_brain | ||
env_file: .env | ||
volumes: | ||
- ./notebooks:/home/dja | ||
- ./images:/images | ||
- .:/src/IBL-pipeline | ||
- ./data:/data | ||
- ./raster:/raster | ||
- ./root/.one_params:/home/dja/.one_params | ||
user: 1000:anaconda | ||
ports: | ||
- "9003:8888" | ||
networks: | ||
- ibl_brain | ||
networks: | ||
ibl_brain: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.