Skip to content

Commit 063f303

Browse files
committed
Remove check for TemporalExtent open ended on both ends
1 parent 0630c4f commit 063f303

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pystac/collection.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,6 @@ def __init__(self, intervals):
396396
if not isinstance(intervals[0], abc.Sequence):
397397
intervals = [intervals]
398398

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')
403399
self.intervals = intervals
404400

405401
def to_dict(self):

0 commit comments

Comments
 (0)