Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_prerequisite_compatibility(config):
from distutils.version import LooseVersion
from pomegranate import __version__ as pomegranate_version
if LooseVersion(pomegranate_version) <= LooseVersion('0.9.0'):
errprint('''
WARNING: You have pomegranate {} installed, which has a known
problem that the memory consumption indefinitely grow. The processing
may stop after processing few thousands of reads due to the out of memory
(OOM) errors. Use this command to install until the new release comes out
with the fix:
pip install cython
pip install git+https://github.com/jmschrei/pomegranate.git\n'''.format(pomegranate_version))
def test_prerequisite_compatibility(config):
from distutils.version import LooseVersion
from pomegranate import __version__ as pomegranate_version
if LooseVersion(pomegranate_version) <= LooseVersion('0.9.0'):
errprint('''
WARNING: You have pomegranate {} installed, which has a known
problem that the memory consumption indefinitely grow. The processing
may stop after processing few thousands of reads due to the out of memory
(OOM) errors. Use this command to install until the new release comes out
with the fix:
pip install cython
pip install git+https://github.com/jmschrei/pomegranate.git\n'''.format(pomegranate_version))