示例#1
0
def test_additional_options(sequences):
    app1 = ClustalOmegaApp(sequences)
    app1.start()

    app2 = ClustalOmegaApp(sequences)
    app2.add_additional_options(["--full"])
    app2.start()

    app1.join()
    app2.join()
    assert "--full" not in app1.get_command()
    assert "--full" in app2.get_command()
    assert app1.get_alignment() == app2.get_alignment()
示例#2
0
def test_additional_options(sequences):
    bin_path = BIN_PATH[ClustalOmegaApp]
    if is_not_installed(bin_path):
        pytest.skip(f"'{bin_path}' is not installed")

    app1 = ClustalOmegaApp(sequences)
    app1.start()

    app2 = ClustalOmegaApp(sequences)
    app2.add_additional_options(["--full"])
    app2.start()

    app1.join()
    app2.join()
    assert "--full" not in app1.get_command()
    assert "--full" in app2.get_command()
    assert app1.get_alignment() == app2.get_alignment()