Open HeetVekariya opened 8 months ago
Migrating to mdaencore, this is no longer in the realm of the core library.
@HeetVekariya to explain the migration - future development of the encore code now happens here, and potentially backported to the core library as necessary.
Additional Information
Expected behavior
ClusterCollection
object/instance hasmetadata
parameter associated with it. We can check here.metadata
ofClusterCollection
object/instance should be accessible.Actual behavior
metadata
ofClusterCollection
object/instance then it gives below error[<class 'MDAnalysis.analysis.encore.clustering.ClusterCollection.ClusterCollection'>, <class 'MDAnalysis.analysis.encore.clustering.ClusterCollection.ClusterCollection'>]
Traceback (most recent call last): File "/home/heet/Work/Development/mdanalysis/test.py", line 27, in
print([cluster.metadata for cluster in cluster_collection][:2])
File "/home/heet/Work/Development/mdanalysis/test.py", line 27, in
print([cluster.metadata for cluster in cluster_collection][:2])
AttributeError: 'ClusterCollection' object has no attribute 'metadata'
Current version of MDAnalysis
python -c "import MDAnalysis as mda; print(mda.__version__)"
)2.6.1
python -V
)?Python 3.10.13
Ubuntu