AlloViz.AlloViz.utils.pkgname#

AlloViz.AlloViz.utils.pkgname(pkg, fail=True)[source]#

Return the case-sensitive, correct name of an AlloViz network construction method

Check if the passed string matches any of the available AlloViz network construction methods detailed in AlloViz.AlloViz.info.wrappers and return the correctly written AlloViz accession name, else raise an Exception or return False.

Parameters:
pkgstr

Name for which to retrieve the correct AlloViz accession name.

failbool, default=True

Raise an Exception if an AlloViz accession name cannot be retrieved or simply return False.