Commit 11161c71 authored by cmaffeo2's avatar cmaffeo2
Browse files

mrdna script now recognizes list files for model creation

parent c6e082b9
......@@ -100,6 +100,8 @@ def main():
from mrdna.readers import read_vhelix as read_model
elif extension == '.pdb':
from mrdna.readers import read_atomic_pdb as read_model
elif extension == '.dat' or extension == '.txt':
from mrdna.readers import read_list as read_model
raise Exception("Unrecognized input file '{}'".format(infile))
model = read_model( str(infile), debye_length=args.debye_length, temperature=args.temperature )
Supports Markdown
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