add [commb], depricate [ehs] and [els]

This commit is contained in:
Junzi Sun
2018-05-17 10:34:14 +02:00
parent 6128c5a18d
commit 2389c12b98
10 changed files with 121 additions and 36 deletions
+3 -1
View File
@@ -1,12 +1,14 @@
from __future__ import absolute_import, print_function, division
import warnings
warnings.simplefilter('once', DeprecationWarning)
from pyModeS.decoder.bds.bds40 import *
from pyModeS.decoder.bds.bds50 import *
from pyModeS.decoder.bds.bds60 import *
from pyModeS.decoder.bds import infer
warnings.simplefilter('once', DeprecationWarning)
warnings.warn("pms.ehs module is deprecated. Please use pms.commb instead.", DeprecationWarning)
def BDS(msg):
warnings.warn("pms.ehs.BDS() is deprecated, use pms.bds.infer() instead.", DeprecationWarning)
return infer(msg)