Changeset 2073:8f100ab564d5 in orange-bioinformatics


Ignore:
Timestamp:
04/18/14 18:05:47 (18 hours ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Tags:
tip
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orangecontrib/bio/widgets/OWVennDiagram.py

    r2068 r2073  
    33""" 
    44from __future__ import division 
     5 
     6# Venn Diagram widget in orange-bioinformatics has been superseded by 
     7# Venn Diagram in Orange (in Visualize category). However until there is 
     8# a stable release of Orange (on which we can depend) we leave this widget 
     9# in palace and only allow it's use if the Orange installation does not yet 
     10# have the replacement. 
     11 
     12try: 
     13    from Orange.OrangeWidgets.Visualize import OWVennDiagram 
     14except ImportError: 
     15    pass 
     16else: 
     17    raise ImportError 
    518 
    619import math 
Note: See TracChangeset for help on using the changeset viewer.