You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible fix
merge_universes in MDAnalysis/analysis/encore/utils.py does not properly check if the filename property of the first universe in the list is set, the following code does.
Expected behavior
Given a list of in-memory universe objects
c = MDAnalysis.analysis.encore.clustering.cluster.cluster(us)
should return a ClustersCollection.Actual behavior
Call fails with
TypeError: Cannot determine file format for file 'None'. You can set the format explicitly with 'Universe(..., format=FORMAT)'.
Code to reproduce the behavior
Possible fix
merge_universes in MDAnalysis/analysis/encore/utils.py does not properly check if the filename property of the first universe in the list is set, the following code does.
Alternative:
Currently version of MDAnalysis
python -c "import MDAnalysis as mda; print(mda.__version__)"
) -> 0.20.1python -V
)? -> Python 3.6.7The text was updated successfully, but these errors were encountered: