How to use the smelli._version.__flavio__version__ function in smelli

To help you get started, we’ve selected a few smelli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github smelli / smelli / smelli / __init__.py View on Github external
def _check_flavio_version():
    version_installed = flavio.__version__.split('.')
    version_required = __flavio__version__.split('.')
    if version_installed[:2] == version_required[:2]:
        return True
    else:
        return False

smelli

A Python package providing a global likelihood function in the space of dimension-6 Wilson coefficients of the Standard Model Effective Field Theory (SMEFT)

MIT
Latest version published 1 year ago

Package Health Score

41 / 100
Full package analysis