Browse Source

gin commit from rMBP-15-Malthe.local

New files: 1
Modified files: 1
Deleted files: 2
malthe.nielsen 4 years ago
parent
commit
4e6dc30a41
4 changed files with 12 additions and 23 deletions
  1. 10 0
      Example/README_EXAMPLE.md
  2. 0 18
      Example/README_EXAMPLE.txt
  3. 2 1
      Example/runner_example.sh
  4. 0 4
      Example/runner_example_macOS.sh

+ 10 - 0
Example/README_EXAMPLE.md

@@ -0,0 +1,10 @@
+# Example of the runner.py
+How to run:
+In the commandline type in
+```sh
+bash runner_example.sh
+```
+
+The program will run the program with the sample file and output the correct
+files in a new directory inside this one named after the file name of the
+brainslice.

+ 0 - 18
Example/README_EXAMPLE.txt

@@ -1,18 +0,0 @@
-In this folder an example of the automatic segementation program shown.
-
-
-By running one of the two shell scripts the program starts and segments a
-brainslice with the segmentation and template files. There are two diffrent
-scripts, one for MacOS and one for Linux. The only difference between the two is
-in the nameing of the python instalation. The program only works with python
-3.7+ and the default macOS instalation of python is 2.7. You are able to check
-the version of your python instalation by typing 'python --version' in the
-command line. If the version installed is python 2.7 the python 3 package is
-often installed as 'python3' instead 
-
-How to run:
-In the commandline type in 'bash runner_example.sh'
-
-The program will run the program with the sample file and output the correct
-files in a new directory inside this one named after the file name of the
-brainslice.

+ 2 - 1
Example/runner_example.sh

@@ -1,3 +1,4 @@
 #!/bin/bash
-python runner.py ./Example/Brain_example.tif ./data/dapi_template.nii.gz ./data/dapi_template_segmentation_full.nii.gz 0.15 ./ --dapi 1
+# cd ..
+python3 ../runner.py ./Brain_example.tif ../data/dapi_template.nii.gz ../data/dapi_template_segmentation_full.nii.gz 0.15 ./ --dapi 1
 

+ 0 - 4
Example/runner_example_macOS.sh

@@ -1,4 +0,0 @@
-#!/bin/bash
-# cd ..
-python3 ../runner.py ./Brain_example.tif ../data/dapi_template.nii.gz ../data/dapi_template_segmentation_full.nii.gz 0.15 ./ --dapi 1
-