Skip to content

Commit

Permalink
Update extended_types.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Relifest authored Oct 16, 2024
1 parent 3dde76d commit fe0831e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytdml/type/extended_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,10 @@ def from_dict(json_dict):
new_dict = copy.deepcopy(json_dict)
if new_dict.__contains__('extent'):
extent = new_dict['extent']
print(extent)
for i in range(len(extent)):
if EX_Extent.can_build_from_data(extent[i]):
extent[i] = EX_Extent.from_dict(extent[i])
else:
print(1)
continue
new_dict['extent'] = extent
return EOTrainingDataset(**new_dict)

0 comments on commit fe0831e

Please sign in to comment.