Skip to content

Update AlignTraj and AverageStructure to use new .results #3278

@IAlibay

Description

@IAlibay

Follow the new AnalysisBase API and store results in align.AlignTraj and align.AverageStructure in .results instead of class attributes.

See omnibus issue #3261 for background and details. See PR #3263 as an example (DensityAnalysis)

  • put all generated data into self.results instead of self
  • keep managed attributes in place with deprecation message
  • test deprecation messages/old attribute access
  • update CHANGELOG: one entry in Changes (use .results) and one entry in Deprecations (attribute access to be removed in 3.0.0)

Note: needs to be done in 2.0.0 if #3277 gets merged.

Metadata

Metadata

Assignees

Labels

APIComponent-AnalysisdeprecationDeprecated functionality to give advance warning for API changes.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions