File tree Expand file tree Collapse file tree 3 files changed +25
-20
lines changed Expand file tree Collapse file tree 3 files changed +25
-20
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
2
- # Setup standalone python environment
3
- echo " Setup standalone python environment"
4
-
5
- if [ ` uname` == ' Darwin' ]; then
1
+ #! /bin/bash
2
+ # Setup standalone python environment
3
+
4
+ echo " Setting up standalone conda Python environment"
5
+
6
+ if [ ` uname` == ' Darwin' ]; then
6
7
curl -sSL -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
7
- else
8
+ else
8
9
curl -sSL -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
9
- fi
10
- chmod +x miniconda.sh
11
- ./miniconda.sh -b
12
- export PATH=$HOME /miniconda2/bin:$PATH
13
- conda config --add channels conda-forge
14
-
15
- # Get the repo and Create the specific versioned python environment
16
- echo " Get the repo and Create the specific versioned python environment"
17
-
18
- curl -OksSL https://github.com/ReproNim/simple_workflow/archive/master.zip
19
- unzip master.zip
20
- cd simple_workflow-master
21
- conda env create -f environment.yml
22
- source activate bh_demo
10
+ fi
11
+ chmod +x miniconda.sh
12
+ ./miniconda.sh -b
13
+ export PATH=$HOME /miniconda2/bin:$PATH
14
+ conda config --add channels conda-forge
15
+
16
+ # Get the repo and Create the specific versioned python environment
17
+ echo " Getting the analysis repo"
18
+
19
+ curl -OksSL https://github.com/ReproNim/simple_workflow/archive/master.zip
20
+ unzip master.zip
21
+ cd simple_workflow-master
22
+
23
+ echo " Creating specificly versioned Python environment"
24
+ conda env create -f environment.yml
25
+ source activate bh_demo
23
26
pip install https://github.com/satra/prov/archive/enh/rdf-1.x.zip
Original file line number Diff line number Diff line change
1
+ #/usr/bin/env python
2
+
1
3
import json
2
4
import os
3
5
from glob import glob
You can’t perform that action at this time.
0 commit comments