Commits

Nathan Goldbaum committed f83eb46

Checking for directories full of nonexistent data.

  • Participants
  • Parent commits 6c8b296

Comments (0)

Files changed (1)

yt/data_objects/time_series.py

         """
         if isinstance(filenames, types.StringTypes):
             filenames = glob.glob(filenames)
+            if len(filenames) == 0:
+                raise YTOutputNotIdentified(filenames, {})
             filenames.sort()
         obj = cls(filenames[:], parallel = parallel, **kwargs)
         return obj