From a9bca6d4270387aa7e32b550da23cef62be47638 Mon Sep 17 00:00:00 2001 From: Cezary Czaplewski Date: Thu, 24 Aug 2017 16:46:32 +0200 Subject: [PATCH] remd prob. correction --- django_simple/todo/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 1.7.9.5