Commit 507d741e authored by khalid's avatar khalid
Browse files

adapt module search path

parent 1f781e78
......@@ -16,13 +16,17 @@ First, you'll need to enable GPUs for the notebook:
# We will install dadi from a modified source hosted in mbb
# MyInference.py : modif. du fichier Infrenec.py de dadi pour incorporer les optimisations anneal et dual_anneal
# local_dual_anneal.py : modif du fichier dual_anneal de scipy change to LocalSearchWrapper to allow the use of bounded minimizers other than L-BFGS-B
# local_dual_anneal.py : modif du fichier scipy change to LocalSearchWrapper to allow the use of bounded minimizers other than L-BFGS-B
# or L-BFGS-B with a maxiter < than the default LS_MAXITER_MIN
!git clone https://gitlab.mbb.univ-montp2.fr/khalid/dadi.git
import os
os.chdir('dadi')
!python3 setup.py install
!python setup.py install
#L'insallation ne semble pas se faire correctement, il faut ajouter ceci
import sys
sys.path.append('/usr/local/lib/python3.6/dist-packages/dadi-2.1.0-py3.6-linux-x86_64.egg')
import warnings
warnings.filterwarnings('ignore')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment