96abhishekarora commited on
Commit
c2827c5
1 Parent(s): a849f84

finalise docs

Browse files
Files changed (1) hide show
  1. AmericanStories.py +1 -1
AmericanStories.py CHANGED
@@ -115,7 +115,7 @@ class AmericanStories(datasets.GeneratorBasedBuilder):
115
  list: A list of SplitGenerator objects.
116
  """
117
  if self.config.name == "subset_years":
118
- print(SUPPORTED_YEARS)
119
  if not self.config.year_list:
120
  raise ValueError("Please provide a valid year_list")
121
  elif not set(self.config.year_list).issubset(set(SUPPORTED_YEARS)):
 
115
  list: A list of SplitGenerator objects.
116
  """
117
  if self.config.name == "subset_years":
118
+ print("Only taking a subset of years. Change name to 'all_years' to use all years in the dataset.")
119
  if not self.config.year_list:
120
  raise ValueError("Please provide a valid year_list")
121
  elif not set(self.config.year_list).issubset(set(SUPPORTED_YEARS)):