source: orange-bioinformatics/_bioinformatics.py @ 1873:0810c5708cc5

Revision 1873:0810c5708cc5, 394 bytes checked in by Ales Erjavec <ales.erjavec@…>, 6 months ago (diff)

Moved '_bioinformatics' into orangecontrib namespace.

RevLine 
[1873]1"""
2Backwards compatibility stub. Should be removed by the 2.7 release.
3"""
4import sys
5import warnings
6
7from orangecontrib import bio
8
9# Change the PendingDeprecation to Deprecated in 2.6 release.
10warnings.warn(
11    "'_bioinformatics' import name is deprecated.\n" +
12    "Please use 'orangecontrib.bio'.",
13    PendingDeprecationWarning,
14    stacklevel=2
15)
16
17sys.modules["_bioinformatics"] = bio
Note: See TracBrowser for help on using the repository browser.