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

Can no longer create dummy universe with new guesser #4750

Open
IAlibay opened this issue Oct 20, 2024 · 0 comments · May be fixed by #4754
Open

Can no longer create dummy universe with new guesser #4750

IAlibay opened this issue Oct 20, 2024 · 0 comments · May be fixed by #4754
Milestone

Comments

@IAlibay
Copy link
Member

IAlibay commented Oct 20, 2024

Related to #4748

The following worked before we introduced the new guesser API:

import MDAnalysis as mda
import numpy as np

a = np.array([
    [0., 0., 150.], [0., 0., 150.], [200., 0., 150.],
    [0., 0., 150.], [100., 100., 150.], [200., 100., 150.],
    [0., 200., 150.], [100., 200., 150.], [200., 200., 150.]
])

u = mda.Universe(a, n_atoms=9)

However, as of the new guesser API, this will fail with due to a lack of atom names.

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

Successfully merging a pull request may close this issue.

1 participant