We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0630c4f + baedbef commit 30cc904Copy full SHA for 30cc904
pystac/collection.py
@@ -3,7 +3,7 @@
3
import dateutil.parser
4
from dateutil import tz
5
from copy import (copy, deepcopy)
6
-from pystac import (STACError, STACObjectType, CatalogType)
+from pystac import (STACObjectType, CatalogType)
7
from pystac.catalog import Catalog
8
from pystac.link import Link
9
from pystac.utils import datetime_to_str
@@ -396,10 +396,6 @@ def __init__(self, intervals):
396
if not isinstance(intervals[0], abc.Sequence):
397
intervals = [intervals]
398
399
- for i in intervals:
400
- if i[0] is None and i[1] is None:
401
- raise STACError('TemporalExtent interval must have either '
402
- 'a start or an end time, or both')
403
self.intervals = intervals
404
405
def to_dict(self):
0 commit comments