Skip to content

Commit

Permalink
Update tsne.py
Browse files Browse the repository at this point in the history
Updated import of collections to reflect changes in Python 3.10.
  • Loading branch information
ejohnson643 authored Jan 24, 2022
1 parent 20d3a6e commit 590267e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion EMBEDR/tsne.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
###############################################################################
"""
from collections import Iterable
try:
from collections import Iterable
except ImportError as err:
from collections.abc import Iterable

import EMBEDR.affinity as aff
import EMBEDR.callbacks as cb
Expand Down

0 comments on commit 590267e

Please sign in to comment.