Browse Source

Have runPython.sh run within venv, nnUnet set

Andrej Studen 3 years ago
parent
commit
4d0276ab7b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pythonScripts/runPython.sh

+ 2 - 2
pythonScripts/runPython.sh

@@ -1,4 +1,4 @@
 #!/bin/bash
 
-
-nohup python3 $1  0<&- &> $HOME/logs/runPython.log &
+. ~/venv/nnUNet/bin/activate
+nohup python $@  0<&- &> $HOME/logs/runPython.log &