-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_sorter_slurm.sh
24 lines (19 loc) · 952 Bytes
/
run_sorter_slurm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/bash
#SBATCH -N 1 # number of nodes
#SBATCH --mem 60G # memory pool for all cores
#SBATCH --gpus-per-node=1
#SBATCH -n 30
#SBATCH --mail-type=END,FAIL
echo "loading conda env"
module load miniconda
module load cuda/11.8
source activate si
echo "running script"
echo $2 $3
echo ~/ephys/sorting_functions.py "$1" --datadir "${2:-}" --extra_datadirs "${3:-}" --ow_flag "${5:-0}"
# python ~/ephys/sorting_functions.py "$1" --datadir "${2:-}" --extra_datadirs "${3:-}" --ow_flag "${5:-0}"
# echo "running split and ephys analysis scripys"
# echo ~/ephys/split_concat.py "$1" "$4" --ow_flag "${6:-1}"
echo ~/ephys/ephys_analysis_multisess.py config.yaml "$4" --sorter_dirname "${7:-'from_concat'}" --sess_top_filts "${8:-}"
python ~/ephys/split_concat.py "$1" "$4" --ow_flag "${6:-1}" --sess_top_filts "${8:-}"
python ~/ephys/ephys_analysis_multisess.py config.yaml "$4" --sorter_dirname "${7:-'from_concat'}" --sess_top_filts "${8:-}"