Skip to content

Commit 314445a

Browse files
authored
Merge pull request #61 from SpikeInterface/pykilosort-1.4.3
Update PyKilosort version to 1.4.3
2 parents cff3097 + 00a3d91 commit 314445a

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

pykilosort/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM nvidia/cuda:10.0-base-ubuntu18.04
22

3-
LABEL maintainer="Vincent Prevosto <prevosto@mit.edu>"
3+
LABEL maintainer="Alessio Buccino <alessiop.buccino@gmail.com>"
44

55
# USER root
66
# Ubuntu package installs
@@ -13,9 +13,10 @@ RUN apt update && \
1313
rm -rf /var/lib/apt/lists/*
1414

1515
# install miniconda
16-
ENV MINICONDA_VERSION 4.12.0
16+
ENV MINICONDA_VERSION 23.3.1-0
17+
ENV PY_VERSION py39
1718
ENV CONDA_DIR /home/miniconda3
18-
ENV LATEST_CONDA_SCRIPT "Miniconda3-py38_$MINICONDA_VERSION-Linux-x86_64.sh"
19+
ENV LATEST_CONDA_SCRIPT "Miniconda3-${PY_VERSION}_${MINICONDA_VERSION}-Linux-x86_64.sh"
1920

2021
RUN wget --quiet https://repo.anaconda.com/miniconda/$LATEST_CONDA_SCRIPT -O ~/miniconda.sh && \
2122
bash ~/miniconda.sh -b -p $CONDA_DIR && \
@@ -30,13 +31,12 @@ RUN echo ". $CONDA_DIR/etc/profile.d/conda.sh" >> /root/.profile
3031
RUN conda init bash
3132

3233
# Install IBL python port of pykilosort
33-
RUN git clone https://github.com/int-brain-lab/pykilosort.git /src/pykilosort
34+
RUN git clone -b 1.4.3 https://github.com/int-brain-lab/pykilosort.git /src/pykilosort
3435
WORKDIR /src/pykilosort
3536

3637
# modify env file so that env extends on base
3738
RUN sed -i "s/pyks2/base/" pyks2.yml
3839
RUN sed -i "s/- spikeinterface//" pyks2.yml
39-
RUN cat pyks2.yml
4040

4141
# Create environment
4242
RUN conda env update --name base --file pyks2.yml --prune
@@ -46,8 +46,5 @@ RUN conda install --quiet --yes ipykernel && \
4646
python -m ipykernel install --user --display-name "pyKilosort" && \
4747
conda develop .
4848

49-
# install phylib from master because of read-only bug (https://github.com/cortex-lab/phylib/pull/35)
50-
RUN pip uninstall -y phylib && pip install git+https://github.com/cortex-lab/phylib.git
51-
5249
#--name pyks2
5350
WORKDIR /

pykilosort/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker build -t spikeinterface/pykilosort-base:latest -t spikeinterface/pykilosort-base:ibl-1.3 .
3+
docker build -t spikeinterface/pykilosort-base:latest -t spikeinterface/pykilosort-base:1.4.3 .

0 commit comments

Comments
 (0)