diff --git a/random_sets/datasources.py b/random_sets/datasources.py index c20c1ed..4d288a1 100644 --- a/random_sets/datasources.py +++ b/random_sets/datasources.py @@ -125,7 +125,6 @@ class DataSource: flattened = [] if not self.data[option]: return [option] - raise ValueError(f"There is no data for '{option}' in your data source.") if hasattr(self.data[option], 'keys'): # if the option is a dict, we assume the values are lists; we select a random item