Aleš Erjavec  committed 8f100ab

Disable 'Venn Diagram' widget if one is already provided by Orange.

  • Participants
  • Parent commits af7c562

Comments (0)

Files changed (1)

File orangecontrib/bio/widgets/

 from __future__ import division
+# Venn Diagram widget in orange-bioinformatics has been superseded by
+# Venn Diagram in Orange (in Visualize category). However until there is
+# a stable release of Orange (on which we can depend) we leave this widget
+# in palace and only allow it's use if the Orange installation does not yet
+# have the replacement.
+    from Orange.OrangeWidgets.Visualize import OWVennDiagram
+except ImportError:
+    pass
+    raise ImportError
 import math
 import unicodedata