You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conda config --set always_yes yes --set changeps1 no
30
+
conda config --add channels vmtk
31
+
conda config --add channels morphman
32
+
33
+
# Set up environment
34
+
conda create -n morphman morphman pytest llvm=3.3
35
+
36
+
# Activate environment
37
+
source activate morphman
38
+
39
+
# Useful for debugging any issues with conda
40
+
conda info -a
41
+
42
+
# Dependencies for code coverage
43
+
pip install pytest-cov codecov
44
+
45
+
# Edit VMTK files
46
+
sed -i -e 's/len(self.SourcePoints)\/3/len\(self.SourcePoints\)\/\/3/g' $HOME/miniconda/envs/morphman/lib/python3.6/site-packages/vmtk/vmtkcenterlines.py
47
+
sed -i -e 's/len(self.TargetPoints)\/3/len\(self.TargetPoints\)\/\/3/g' $HOME/miniconda/envs/morphman/lib/python3.6/site-packages/vmtk/vmtkcenterlines.py
48
+
sed -i -e 's/(len(values) - 1)\/2/\(len\(values\) - 1\)\/\/2/g' $HOME/miniconda/envs/morphman/lib/python3.6/site-packages/vmtk/vmtksurfacecurvature.py
49
+
50
+
# Run tests
51
+
cd test
52
+
pytest --cov=./
53
+
54
+
# store artifacts (for example logs, binaries, etc)
55
+
# to be available in the web app or through the API
0 commit comments