#!/bin/bash
#SBATCH -N 1
#SBATCH --partition=upex
#SBATCH --time=00:30:00
#SBATCH --mail-type=END,FAIL
#SBATCH --output=../logs/%j-%x.out

RUN=$1
MODULES=$2
RUNTYPE=$3

source /etc/profile.d/modules.sh
module load exfel
module load exfel_anaconda3/1.1

echo processing modules $MODULES of run $RUN
python process_data_201007_23h.py --run-number $RUN --module ${MODULES} --runtype $RUNTYPE
