Skip to content

Commit

Permalink
Update align.py
Browse files Browse the repository at this point in the history
PEP fixes
  • Loading branch information
talagayev authored Oct 18, 2024
1 parent 6c91e91 commit 1733414
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package/MDAnalysis/analysis/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,11 @@ class AlignTraj(AnalysisBase):
"""

_analysis_algorithm_is_parallelizable = True

@classmethod
def get_supported_backends(cls):
return ("serial", "dask")

def __init__(self, mobile, reference, select='all', filename=None,
prefix='rmsfit_', weights=None,
tol_mass=0.1, match_atoms=True, strict=False, force=True, in_memory=False,
Expand Down Expand Up @@ -909,11 +909,11 @@ class AverageStructure(AnalysisBase):
"""

_analysis_algorithm_is_parallelizable = True

@classmethod
def get_supported_backends(cls):
return ("serial", "multiprocessing", "dask")

def __init__(self, mobile, reference=None, select='all', filename=None,
weights=None,
tol_mass=0.1, match_atoms=True, strict=False, force=True, in_memory=False,
Expand Down Expand Up @@ -1115,7 +1115,7 @@ def _get_aggregator(self):
"rmsd": ResultsGroup.ndarray_vstack,
}
)

@property
def universe(self):
wmsg = ("The `universe` attribute was deprecated in MDAnalysis 2.0.0 "
Expand Down

0 comments on commit 1733414

Please sign in to comment.