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

correct

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