Skip to content

Commit 2918a7b

Browse files
committed
Fix tests
1 parent 6c0016e commit 2918a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_cli_parser():
1111

1212
def test_cli_tracking_from_folder():
1313
example_dataset()
14-
cmd = "trackastra track -i test_data/img -m test_data/TRA --output-ctc test_data/tracked --output-edge-table test_data/tracked.csv --model-pretrained general_2d" # noqa: RUF100
14+
cmd = "trackastra track -i test_data/img -m test_data/TRA --output-ctc test_data/tracked --output-edge-table test_data/tracked.csv --model-pretrained general_2d --device cpu" # noqa: RUF100
1515
print(cmd)
1616
result = os.system(cmd)
1717
assert Path("test_data/tracked").exists()
@@ -26,7 +26,7 @@ def test_cli_tracking_from_file():
2626
output_ctc = Path("test_data") / "tracked_bacteria"
2727
output_edge_table = Path("test_data") / "tracked_bacteria.csv"
2828

29-
cmd = f"trackastra track -i {root / 'trpL_150310-11_img.tif'} -m {root / 'trpL_150310-11_mask.tif'} --output-ctc {output_ctc} --output-edge-table {output_edge_table} --model-pretrained general_2d" # noqa: RUF100
29+
cmd = f"trackastra track -i {root / 'trpL_150310-11_img.tif'} -m {root / 'trpL_150310-11_mask.tif'} --output-ctc {output_ctc} --output-edge-table {output_edge_table} --model-pretrained general_2d --device cpu" # noqa: RUF100
3030
print(cmd)
3131
result = os.system(cmd)
3232

0 commit comments

Comments
 (0)