Skip to content
Snippets Groups Projects
Commit 93b5c9da authored by cmaffeo2's avatar cmaffeo2
Browse files

Pass MDAnalysis str() obj instead of Path for PDB reader

parent d1e71f5f
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ bases = resnames.keys()
resname_to_key = {n:k for k,v in resnames.items() for n in v.split()}
complement = dict(A='T', C='G', T='A', G='C')
refUnis = {b:mda.Universe(get_resource_path("generate-nts/1-w3dna/{}{}.pdb".format(b,complement[b])))
refUnis = {b:mda.Universe(str(get_resource_path("generate-nts/1-w3dna/{}{}.pdb".format(b,complement[b]))))
for b in bases}
stack_text = "not name O5' P O1P O2P OP1 OP2 O3' 1H* 2H* 3H* 0H* H*"
......
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