script_irsom.sh 528 Bytes
#! /bin/bash

## This script work with a conda installation based on python3

## Parameters
## 1: Conda environment name

# This script install the python package required for IRSOM (https://forge.ibisc.univ-evry.fr/lplaton/IRSOM)

conda create --name $1
source activate $1

conda install docopt matplotlib numpy pandas tensorflow
pip install plotnine
source deactivate

if [ -d "IRSOM" ]; then
	rm -rf "IRSOM"
fi
git clone https://forge.ibisc.univ-evry.fr/lplaton/IRSOM.git

echo "IRSOM directory installed in : "$PWD"/IRSOM/"