Skip to content

Commit

Permalink
update for upstream changes to get_data
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed May 25, 2023
1 parent 844bde4 commit a9e98b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lcviz/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def load_data(self, data, data_label=None):
data_label=data_label
)

def get_data(self, data_label=None, cls=LightCurve, subset_to_apply=None):
def get_data(self, data_label=None, cls=LightCurve, subset=None):
"""
Returns data with name equal to data_label of type cls with subsets applied from
subset_to_apply.
Expand All @@ -151,12 +151,12 @@ def get_data(self, data_label=None, cls=LightCurve, subset_to_apply=None):
Provide a label to retrieve a specific data set from data_collection.
cls : light curve class, optional
The type that data will be returned as.
subset_to_apply : str, optional
Subset that is to be applied to data before it is returned.
subset : str, optional
Subset that is to be applied (as a mask) to the data before it is returned.
Returns
-------
data : cls
Data is returned as type cls with subsets applied.
"""
return super()._get_data(data_label=data_label, cls=cls, subset_to_apply=subset_to_apply)
return super()._get_data(data_label=data_label, mask_subset=subset, cls=cls)

0 comments on commit a9e98b0

Please sign in to comment.