Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCD Writer broken #50

Closed
GoogleCodeExporter opened this issue Apr 4, 2015 · 1 comment
Closed

DCD Writer broken #50

GoogleCodeExporter opened this issue Apr 4, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  W = MDAnalysis.Writer('foo.dcd')

What is the expected output? What do you see instead?

Should get a writer.


/sansom/gfio/oliver/Library/i386-apple-darwin9.8.0/lib/python2.6/MDAnalysis-0.7.
0_rc1-py2.6-macosx-10.5-i386.egg/MDAnalysis/coordinates/DCD.pyc in 
__init__(self, filename, numatoms, start, step, delta, remarks, convert_units)
     38         self.dcdfilename = filename  # backward compatibility
     39         if convert_units is None:
---> 40             convert_units = 
MDAnalysis.core.flags['convert_gromacs_lengths']
     41         self.convert_units = convert_units    # convert length and time to base units on the fly?
     42         self.numatoms = numatoms

NameError: global name 'MDAnalysis' is not defined




Original issue reported on code.google.com by orbeckst on 27 Oct 2010 at 9:52

@GoogleCodeExporter
Copy link
Author

fixed in r511 and passes new test case

Original comment by orbeckst on 27 Oct 2010 at 10:28

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant