diff --git a/README.md b/README.md index 87faa31e162efb690ad9d91588be42555e0f20f4..58dc64e6835f52495deef05604afea5c9aef8935 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