remd prob. correction
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Thu, 24 Aug 2017 14:46:32 +0000 (16:46 +0200)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Sat, 26 Aug 2017 16:02:48 +0000 (18:02 +0200)
django_simple/todo/views.py

index 8732703..4f09e49 100644 (file)
@@ -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: