File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -738,31 +738,3 @@ def test_position_numpy_array_from_via_tracks_file(via_file_path):
738738 bboxes_arrays ["position_array" ], # frames, xy, individuals
739739 np .stack (list_derived_centroids , axis = - 1 ),
740740 )
741-
742-
743- @pytest .mark .benchmark
744- @pytest .mark .parametrize (
745- "via_file_path" ,
746- [
747- pytest .DATA_PATHS .get ("VIA_multiple-crabs_5-frames_labels.csv" ),
748- pytest .DATA_PATHS .get ("VIA_single-crab_MOCA-crab-1.csv" ),
749- ],
750- )
751- def test_benchmark_from_via_tracks_file (via_file_path , benchmark ):
752- """Benchmark the loading of a VIA tracks .csv file."""
753- benchmark (load_bboxes .from_via_tracks_file , via_file_path )
754-
755-
756- @pytest .mark .benchmark
757- @pytest .mark .parametrize (
758- "via_file_path" ,
759- [
760- pytest .DATA_PATHS .get ("VIA_multiple-crabs_5-frames_labels.csv" ),
761- # multiple crabs present in all 5 frames
762- pytest .DATA_PATHS .get ("VIA_single-crab_MOCA-crab-1.csv" ),
763- # single crab present in 35 non-consecutive frames
764- ],
765- )
766- def test_benchmark_df_from_via_tracks_file (via_file_path , benchmark ):
767- """Benchmark the `_df_from_via_tracks_file` function."""
768- benchmark (load_bboxes ._df_from_via_tracks_file , via_file_path )
You can’t perform that action at this time.
0 commit comments