Commit 0e1ed44f authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN

Merge branch 'nathsav-master-patch-97879' into 'master'

Update src/aria/core/StructureEnsemble.py

See merge request bis-aria/ariaec!19
parents 74b856bb 1a44d7a4
......@@ -565,6 +565,7 @@ class StructureEnsemble(AriaBaseClass):
file_list = os.path.join(base_dir, "pdb_list.txt")
f = open(file_list, 'w')
file_list_str = "\n".join([i[:-4] for i in files])
self.debug("list of pdb files: " + file_list_str + "\n")
f.write(file_list_str)
f.close()
......@@ -572,6 +573,7 @@ class StructureEnsemble(AriaBaseClass):
# run korp
korp_out = os.path.join(base_dir, "korp_score.txt")
cmd = "%s %s --score_file %s -o %s/korp" % (korp_bin, file_list, score_file, base_dir)
self.debug("running Korp: " + cmd + "\n")
os.system("%s > /dev/null" % cmd)
# read korp output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment