From 974d648096dc64196730aba1240efc9f4fa21a49 Mon Sep 17 00:00:00 2001 From: Johannes Stelzer <johannes.stelzer@tuebingen.mpg.de> Date: Wed, 22 Mar 2017 14:48:15 +0100 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 87faa31..58dc64e 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,16 @@ $ sudo pip install numpy scipy nibabel The LD_LIBRARY_PATH has to be set to the pyvista library. To do this run $ export LD_LIBRARY_PATH="Path to directory"/vviewer/vviewer/pyvista/lib/ in the terminal that you want to run the viewer in. -For the installation +For the installation. + +If you want to start the vviewer directly from the terminal, you will have to edit your ~/.bashrc file, adding this line: + +export PATH=<directory>:$PATH + +substituting <directory> with the directory, where you have vviewer.py. +Then you can launch the viewer as: + +vviewer.py -in bla.nii -z overlay.nii ## Setup For Mac -- GitLab