universe.segment
and universe.residues
triger a deprecation warning
#1476
Milestone
universe.segment
and universe.residues
triger a deprecation warning
#1476
Likeky following #1403, calling the
segments
property of a universe issues the following deprecation warning:The
residues
property issues the following one:No warning should be emitted.
The
atoms
property does not emit warning as expected.Resnames._get_named_residue
andSegments._get_named_segment
should handle the deprecation warning the same way asAtoms._get_named_atom
; issue the warning only if the methods return something. See #1403 (comment) and a9f9655.The text was updated successfully, but these errors were encountered: