Skip to content

Commit c082a1d

Browse files
authored
Merge pull request #11 from yarikoptic/enh-perms
ENH: executable permissions for the script + adjusted info messages
2 parents dd1afdb + 6add88c commit c082a1d

File tree

3 files changed

+25
-20
lines changed

3 files changed

+25
-20
lines changed

Simple_Prep.sh

100644100755
Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
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
67
curl -sSL -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
7-
else
8+
else
89
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
2326
pip install https://github.com/satra/prov/archive/enh/rdf-1.x.zip

check_output.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#/usr/bin/env python
2+
13
import json
24
import os
35
from glob import glob

run_demo_workflow.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)