ignore import error for fig.py: depends on windows only libraries

master
david.verelst 12 years ago
parent c0e1e7c8f5
commit 0a4e5a3f1c

@ -11,8 +11,11 @@ import definitions
import polynomial
import stats
import interpolate
import fig
import dctpack
try:
import fig
except ImportError:
print 'fig import only supported on Windows'
try:
from wafo.version import version as __version__

@ -24,7 +24,10 @@ from wafo.misc import meshgrid, nextpow2, tranproc #, trangood
from wafo.wafodata import PlotData
from wafo.dctpack import dct, dctn, idctn
from wafo.plotbackend import plotbackend as plt
from wafo import fig
try:
from wafo import fig
except ImportError:
print 'fig import only supported on Windows'
_TINY = np.finfo(float).machar.tiny

Loading…
Cancel
Save