From 522c96618a7600a038a81af7c1a3c81460877ba3 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Mon, 24 Jul 2023 20:33:21 -0700 Subject: [PATCH] Run modeling script with Python 3 --- backend/modloop/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/modloop/__init__.py b/backend/modloop/__init__.py index 726a531..4382531 100644 --- a/backend/modloop/__init__.py +++ b/backend/modloop/__init__.py @@ -136,7 +136,7 @@ def make_python_script(loops, model, sequence): model_format = model.file_format return """ # Run this script with something like -# python loop.py N > N.log +# python3 loop.py N > N.log # where N is an integer from 1 to the number of models. # # ModLoop does this for N from 1 to 300 (it runs the tasks in parallel on a @@ -189,7 +189,7 @@ def make_sge_script(runnercls, model, jobname, directory, number_of_tasks): module load Sali module load modeller/10.4 -python $input ${SGE_TASK_ID} >& $output +python3 $input ${SGE_TASK_ID} >& $output # Copy back PDB/mmCIF cp *.B* %(directory)s