From: Cezary Czaplewski Date: Thu, 24 Aug 2017 14:46:32 +0000 (+0200) Subject: remd prob. correction X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=a9bca6d4270387aa7e32b550da23cef62be47638;p=django_unres.git remd prob. correction --- diff --git a/django_simple/todo/views.py b/django_simple/todo/views.py index 8732703..4f09e49 100644 --- a/django_simple/todo/views.py +++ b/django_simple/todo/views.py @@ -424,7 +424,7 @@ def refresh_done(request): task.remd_model5=' '.join(line.split()[-6:]) if task.type=='remd': - with open('file_cluster_clust.out_000', 'r') as f: + with open(task.jobdirname+'/file_cluster_clust.out_000', 'r') as f: for line in f: if 'sumprob' in line: