Skip to content

Commit

Permalink
Fixed bug for _get_name() if dataset is not named.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferyee committed Dec 14, 2023
1 parent 2e55c55 commit fb76154
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion source/MulensModel/mulensdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,10 @@ def _get_name(self):
"""extract the name of dataset"""
if 'label' in self.plot_properties:
name = self.plot_properties['label']
else:
elif self._file_name is not None:
name = self._file_name
else:
name = 'Unlabeled Dataset'

return name

Expand Down
2 changes: 1 addition & 1 deletion source/MulensModel/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.19.0"
__version__ = "2.19.1"

0 comments on commit fb76154

Please sign in to comment.