lingpy.tests.convert package

Submodules

lingpy.tests.convert.test_cldf module

lingpy.tests.convert.test_cldf.test_from_cldf()

lingpy.tests.convert.test_graph module

lingpy.tests.convert.test_graph.test_igraph2networkx()
lingpy.tests.convert.test_graph.test_networkx2igraph()

lingpy.tests.convert.test_html module

class lingpy.tests.convert.test_html.Tests(methodName='runTest')

Bases: lingpy.tests.util_testing.WithTempDir

test_alm2html()
test_color_range()
test_msa2html()
test_psa2html()
test_strings_and_tokens2html()

lingpy.tests.convert.test_plot module

class lingpy.tests.convert.test_plot.Plt(*args, **kw)

Bases: mock.mock.MagicMock

plot(*args, **kw)
class lingpy.tests.convert.test_plot.Sch(*args, **kw)

Bases: mock.mock.MagicMock

dendrogram(*args, **kw)
class lingpy.tests.convert.test_plot.TestPlot(methodName='runTest')

Bases: lingpy.tests.util_testing.WithTempDir

setUp()
test_plots()

lingpy.tests.convert.test_strings module

Test conversions involving strings.

class lingpy.tests.convert.test_strings.TestWriteNexus(methodName='runTest')

Bases: lingpy.tests.util_testing.WithTempDir

Tests for write_nexus

assertRegexWorkaround(a, b)
setUp()
test_beast()
test_beastwords()
test_error_on_unknown_mode()
test_error_on_unknown_ref()
test_merge_custom_statements()
test_mrbayes()
test_splitstree()
test_traitlab()
class lingpy.tests.convert.test_strings.Test_is_constant(methodName='runTest')

Bases: unittest.case.TestCase

test_all_absent()
test_all_present()
test_not_constant()
class lingpy.tests.convert.test_strings.Tests(methodName='runTest')

Bases: unittest.case.TestCase

test_matrix2dst()
test_msa2str()
test_pap2csv()
test_pap2nex()
test_scorer2str()

Test conversion of scorers to strings.

lingpy.tests.convert.test_tree module

class lingpy.tests.convert.test_tree.TestTree(methodName='runTest')

Bases: lingpy.tests.util_testing.WithTempDir

setUp()
test__nwk_format()
test_nwk2tree_matrix()

Module contents