Skip to content
Snippets Groups Projects
Verified Commit eb0ebae5 authored by Mia Croiset's avatar Mia Croiset
Browse files

try correct writing in pre pairs file

parent 4fd7280c
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ def pairs2matrix( ...@@ -72,7 +72,7 @@ def pairs2matrix(
# ) # )
cmd = 'grep -v ^# %s | sort -S 2G -k8,8n -k9,9n --parallel=1' % pairs_file cmd = 'grep -v ^# %s | sort -S 2G -k8,8n -k9,9n --parallel=1' % pairs_file
with open(pre_mat_file, "a") as fout: with open(pre_mat_file, "w") as fout:
fout.write(str(os.system(cmd))) fout.write(str(os.system(cmd)))
header_size = len(hio.get_pairs_header(pre_mat_file)) header_size = len(hio.get_pairs_header(pre_mat_file))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment