File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def test_cli_parser():
11
11
12
12
def test_cli_tracking_from_folder ():
13
13
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
15
15
print (cmd )
16
16
result = os .system (cmd )
17
17
assert Path ("test_data/tracked" ).exists ()
@@ -26,7 +26,7 @@ def test_cli_tracking_from_file():
26
26
output_ctc = Path ("test_data" ) / "tracked_bacteria"
27
27
output_edge_table = Path ("test_data" ) / "tracked_bacteria.csv"
28
28
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
30
30
print (cmd )
31
31
result = os .system (cmd )
32
32
You can’t perform that action at this time.
0 commit comments