Skip to content

Commit

Permalink
docs: update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jun 16, 2021
1 parent b79e312 commit 088232a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyjibe/fd/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,21 @@ def load_file(self, path, callback, user_metadata):

@property
def current_curve(self):
"""Indentation object of curve currently shown"""
idx = self.current_index
fdist = self.data_set[idx]
return fdist

@property
def current_index(self):
"""Index of curve currently shown"""
item = self.list_curves.currentItem()
idx = self.list_curves.indexOfTopLevelItem(item)
return idx

@property
def selected_curves(self):
"""Return an IndentationGroup with all curves selected by the user"""
"""IndentationGroup with all curves selected by the user"""
curves = nanite.IndentationGroup()
for ar in self.data_set:
idx = self.data_set.index(ar)
Expand Down

0 comments on commit 088232a

Please sign in to comment.