about summary refs log tree commit diff
path: root/tests/test_domagi.py
diff options
context:
space:
mode:
authorArun Isaac2026-08-26 23:40:18 +0100
committerArun Isaac2026-08-27 00:05:06 +0100
commitce37e2302f0f4fa06225078b466c74332395e846 (patch)
tree662859a4192b02eccdca0857a40cad14ced28fe8 /tests/test_domagi.py
parent09b8f95e5f893cbb3a2532bed3b7325c2b376d4c (diff)
downloaddomagi-ce37e2302f0f4fa06225078b466c74332395e846.tar.gz
domagi-ce37e2302f0f4fa06225078b466c74332395e846.tar.lz
domagi-ce37e2302f0f4fa06225078b466c74332395e846.zip
Provide type and metavar for depth --bed-input.
We also fix the test to pass in a string rather than a Path.
Diffstat (limited to 'tests/test_domagi.py')
-rw-r--r--tests/test_domagi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_domagi.py b/tests/test_domagi.py
index 621c8c9..8f92de6 100644
--- a/tests/test_domagi.py
+++ b/tests/test_domagi.py
@@ -199,7 +199,7 @@ def test_domagi_depth_bed_windows(tmp_path, request, domagi_db_name, bed_windows
     domagi_db = request.getfixturevalue(domagi_db_name)
     runner = CliRunner()
     result = runner.invoke(main, ["depth",
-                                  "--bed-input", bed_windows,
+                                  "--bed-input", str(bed_windows),
                                   "--db", domagi_db])
     assert result.exit_code == 0
     assert_frame_equal(pd.read_csv(expected_output, sep="\t"),