Skip to content

Commit

Permalink
remove the unnecessary @Multicomponent
Browse files Browse the repository at this point in the history
  • Loading branch information
yihengwuKP committed Aug 9, 2024
1 parent 1ca2bc3 commit ff9da18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions pysages/colvars/contacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"""
from jax import numpy as np

from pysages.colvars.core import CollectiveVariable, multicomponent
from pysages.colvars.core import CollectiveVariable


def remap_indices(contacts, sorted_unique_indices):
Expand All @@ -25,7 +25,6 @@ def remap_indices(contacts, sorted_unique_indices):
return remapped_contacts


@multicomponent
class NativeContactFraction(CollectiveVariable):
"""
Calculate the native contact fraction Q.
Expand Down
2 changes: 0 additions & 2 deletions pysages/colvars/orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def function(self):
return lambda r: rmsd(r, self.Q, self.weights, self.optimal_rotation)


@multicomponent
class ERMSD(CollectiveVariable):
"""
Use a reference to calculate the eRMSD of a set of RNA structures.
Expand Down Expand Up @@ -378,7 +377,6 @@ def ermsd(rs, reference, cutoff, a, b):
return ermsd_core(rs, reference, cutoff, a, b)


@multicomponent
class ERMSDCG(CollectiveVariable):
"""
Use a reference to calculate the eRMSD of
Expand Down

0 comments on commit ff9da18

Please sign in to comment.