bugfix by=descriptor, descriptor unknown
@@ -36,10 +36,10 @@ class DatasetBase:
self.obs_descriptors = obs_descriptors
self.channel_descriptors = channel_descriptors
- def split_obs(self, by=descriptor):
+ def split_obs(self, by):
""" Returns a list Datasets splited by obs
Args:
- descriptor(String): the descriptor by which the splitting is made
+ by (String): the descriptor by which the splitting is made
Returns:
list of Datasets, splitted by the selected obs_descriptor
@@ -48,10 +48,10 @@ class DatasetBase:
"split_obs function not implemented in used Dataset class!"
)
- def split_channel(self, by=descriptor):
+ def split_channel(self, by):
""" Returns a list Datasets splited by channels
Args:
- descriptor(String): the descriptor by which the splitting is made
+ by (String): the descriptor by which the splitting is made
Returns:
list of Datasets, splitted by the selected channel_descriptor
@@ -60,10 +60,10 @@ class DatasetBase:
"split_channel function not implemented in used Dataset class!"
)
- def subset_obs(self, by=value):
+ def subset_obs(self, by):
""" Returns a subsetted Dataset defined by certain obs
Args:
- value(HashMap<String,Float or String>): the value by which the subset selection is made from obs dimension
+ by (HashMap<String,Float or String>): the value by which the subset selection is made from obs dimension
Returns:
Dataset, with subset defined by the selected obs_descriptor
@@ -72,10 +72,10 @@ class DatasetBase:
"subset_obs function not implemented in used Dataset class!"
)
- def subset_channel(self, by=value):
+ def subset_channel(self, by):
""" Returns a subsetted Dataset defined by certain channel
Args:
- value(HashMap<String,Float or String>): the value by which the subset selection is made from channel dimension
+ by (HashMap<String,Float or String>): the value by which the subset selection is made from channel dimension
Returns:
Dataset, with subset defined by the selected channel_descriptor
@@ -89,10 +89,10 @@ class Dataset(DatasetBase):
Dataset class is a standard version of DatasetBase that contains one data set - or multiple data sets with the same structure
"""
- def split_obs(self, by=descriptor):
+ def split_obs(self, by):
""" Returns a list Datasets splited by obs
Args:
- descriptor(String): the descriptor by which the splitting is made
+ by (String): the descriptor by which the splitting is made
Returns:
list of Datasets, splitted by the selected obs_descriptor
@@ -100,17 +100,17 @@ class Dataset(DatasetBase):
# TODO
- def split_channel(self, by=descriptor):
+ def split_channel(self, by):
""" Returns a list Datasets splited by channels
Args:
- descriptor(String): the descriptor by which the splitting is made
+ by (String): the descriptor by which the splitting is made
Returns:
list of Datasets, splitted by the selected channel_descriptor
"""
# TODO
- def subset_obs(self, by=value):
+ def subset_obs(self, by):
""" Returns a subsetted Dataset defined by certain obs
Args:
value(HashMap<String,Float or String>): the value by which the subset selection is made from obs dimension
@@ -120,7 +120,7 @@ class Dataset(DatasetBase):
"""
# TODO
- def subset_channel(self, by=value):
+ def subset_channel(self, by):
""" Returns a subsetted Dataset defined by certain channel
Args:
value(HashMap<String,Float or String>): the value by which the subset selection is made from channel dimension
