Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
Added additional argument for chemical cluster groups
  • Loading branch information
m-a-r-i-u-s authored Sep 16, 2024
1 parent de318b9 commit ebf2888
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions domhmm/analysis/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def __init__(
sterol_heads: Dict[str, Any] = {},
sterol_tails: Dict[str, Any] = {},
tmd_protein_list: Union[None, "AtomGroup", str, list] = None,
cluster_group: list = [],
frac: float = 0.5,
p_value: float = 0.05,
leaflet_frame_rate: Union[None, int] = None,
Expand Down Expand Up @@ -146,6 +147,7 @@ def __init__(
self.verbose = verbose
self.result_plots = result_plots
self.tmd_protein = None
self.cluster_group = cluster_group
self.n_init_hmm = n_init_hmm

assert heads.keys() == tails.keys(), "Heads and tails don't contain same residue names"
Expand Down

0 comments on commit ebf2888

Please sign in to comment.