Skip to content

Commit 23ff7c8

Browse files
committed
Fix spike holes in KS2.5/3
1 parent 6bde930 commit 23ff7c8

6 files changed

Lines changed: 98 additions & 2 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
set -e
3+
4+
if [ $# == 0 ]; then
5+
echo "Usage: $0 param1 param2 param3 param4 param4"
6+
echo "* param1: spikeinterface path"
7+
echo "* param1: kilosort1 path"
8+
exit
9+
fi
10+
11+
if [ $# -ne 2 ]; then
12+
echo "spikeinterface and kilosort1 path must be given"
13+
exit 1
14+
fi
15+
16+
17+
SPIKEINTERFACE_PATH=${1%/}
18+
KILOSORT_PATH=${2%/}
19+
20+
21+
cd kilosort-compiled
22+
bash compile.sh $KILOSORT_PATH $SPIKEINTERFACE_PATH
23+
bash build.sh
24+
cd ..
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
set -e
3+
4+
if [ $# == 0 ]; then
5+
echo "Usage: $0 param1 param2 param3 param4 param4"
6+
echo "* param1: spikeinterface path"
7+
echo "* param1: kilosort2 path"
8+
exit
9+
fi
10+
11+
if [ $# -ne 2 ]; then
12+
echo "spikeinterface and kilosort2 path must be given"
13+
exit 1
14+
fi
15+
16+
17+
SPIKEINTERFACE_PATH=${1%/}
18+
KILOSORT2_PATH=${2%/}
19+
20+
21+
cd kilosort2-compiled
22+
bash compile.sh $KILOSORT2_PATH $SPIKEINTERFACE_PATH
23+
bash build.sh
24+
cd ..
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
set -e
3+
4+
if [ $# == 0 ]; then
5+
echo "Usage: $0 param1 param2 param3 param4 param4"
6+
echo "* param1: spikeinterface path"
7+
echo "* param1: kilosort25 path"
8+
exit
9+
fi
10+
11+
if [ $# -ne 2 ]; then
12+
echo "spikeinterface and kilosort25 path must be given"
13+
exit 1
14+
fi
15+
16+
17+
SPIKEINTERFACE_PATH=${1%/}
18+
KILOSORT25_PATH=${2%/}
19+
20+
21+
cd kilosort2_5-compiled
22+
bash compile.sh $KILOSORT25_PATH $SPIKEINTERFACE_PATH
23+
bash build.sh
24+
cd ..
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
set -e
3+
4+
if [ $# == 0 ]; then
5+
echo "Usage: $0 param1 param2 param3 param4 param4"
6+
echo "* param1: spikeinterface path"
7+
echo "* param1: kilosort3 path"
8+
exit
9+
fi
10+
11+
if [ $# -ne 2 ]; then
12+
echo "spikeinterface and kilosort3 path must be given"
13+
exit 1
14+
fi
15+
16+
17+
SPIKEINTERFACE_PATH=${1%/}
18+
KILOSORT3_PATH=${2%/}
19+
20+
21+
cd kilosort3-compiled
22+
bash compile.sh $KILOSORT3_PATH $SPIKEINTERFACE_PATH
23+
bash build.sh
24+
cd ..
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
docker build -t spikeinterface/kilosort2_5-compiled-base:latest -t spikeinterface/kilosort2_5-compiled-base:0.2.0 .
3+
docker build -t spikeinterface/kilosort2_5-compiled-base:latest -t spikeinterface/kilosort2_5-compiled-base:0.3.0 .
44

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/kilosort3-compiled-base:latest -t spikeinterface/kilosort3-compiled-base:0.2.0 .
3+
docker build -t spikeinterface/kilosort3-compiled-base:latest -t spikeinterface/kilosort3-compiled-base:0.3.0 .

0 commit comments

Comments
 (0)