Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
smelandr committed Aug 3, 2017
1 parent 91a9f29 commit c37f166
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions nmrstarlib/plsimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, label, position):
"""Dimension component.
:param str label: Label of a dimension.
:param int position: Position of dimensions within a peak according to sequence site position, e.g. -1, 0, or +1.
:param int position: Position of dimensions within a peak according to sequence site position (-1, 0, or +1).
"""
self.label = label
self.position = position
Expand All @@ -35,7 +35,7 @@ def __init__(self, label, position):
"""Dimension group.
:param str label: Label of a dimension.
:param int position: Position of dimensions within a peak according to sequence site position, e.g. -1, 0, or +1.
:param int position: Position of dimensions within a peak according to sequence site position, (-1, 0, or +1).
"""
super(DimensionGroup, self).__init__(label, position)
self.dimensions = []
Expand All @@ -48,7 +48,7 @@ def __init__(self, label, position, assignment=None, chemshift=None):
"""Concrete dimension intializer.
:param str label: Label of a dimension.
:param int position: Position of dimensions within a peak according to sequence site position, e.g. -1, 0, or +1.
:param int position: Position of dimensions within a peak according to sequence site position, (-1, 0, or +1).
:param str assignment: Chemical shift assignment of a dimension.
:param float chemshift: Chemical shift value of a dimension.
"""
Expand Down Expand Up @@ -277,7 +277,7 @@ def __init__(self, fraction, dimension_labels):
elif all(position >= 0 for position in self.relative_positions):
seq_site_positions = self.relative_positions
else:
# TODO: take min and max and detemine window size
# TODO: take min and max and determine window size
raise NotImplementedError

dimension_groups = self.create_dimension_groups(zip(dimensions, seq_site_positions))
Expand Down Expand Up @@ -318,7 +318,6 @@ def __init__(self, name, labels, min_spin_system_peaks, amino_acids_and_atoms=No
self.min_spin_system_peaks = min_spin_system_peaks
self.amino_acids_and_atoms = amino_acids_and_atoms


@property
def peak_templates(self):
"""Create a list of concrete peak templates from a list of general peak descriptions.
Expand Down

0 comments on commit c37f166

Please sign in to comment.