File tree 8 files changed +14
-11
lines changed
8 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,9 @@ max-spelling-suggestions=2
420
420
# Maximum number of arguments for function / method
421
421
max-args =10
422
422
423
+ # Maximum number of arguments for function / method
424
+ max-positional-arguments =11
425
+
423
426
# Maximum number of locals for function / method body
424
427
max-locals =25
425
428
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def is_matching(
55
55
comp_children : np .ndarray ,
56
56
tr : int ,
57
57
tc : int
58
- ): #pylint: disable=too-many-arguments
58
+ ):
59
59
"""
60
60
Checks if the reference and the computed track match.
61
61
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def chota(
56
56
labels_comp : list ,
57
57
mapped_ref : list ,
58
58
mapped_comp : list
59
- ): #pylint: disable=too-many-arguments
59
+ ):
60
60
"""
61
61
62
62
Original file line number Diff line number Diff line change 9
9
num_vertices : int ,
10
10
num_edges : int ,
11
11
** _ignored
12
- ): #pylint: disable=too-many-arguments
12
+ ):
13
13
"""
14
14
Calculate Tracking (TRA) metric.
15
15
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def calculate_metrics(
128
128
segm : dict ,
129
129
metrics : list = None ,
130
130
is_valid : bool = None ,
131
- ): # pylint: disable=too-complex,too-many-arguments
131
+ ): # pylint: disable=too-complex
132
132
"""
133
133
Calculate metrics for given data.
134
134
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ def add_noise(
294
294
noise_add_idsw : int = 0 ,
295
295
noise_remove_matches : int = 0 ,
296
296
noise_remove_mitosis : int = 0 ,
297
- ): #pylint: disable=too-many-arguments
297
+ ):
298
298
"""
299
299
Add noise to the data.
300
300
@@ -407,7 +407,7 @@ def run_noisy_sample(
407
407
name : str ,
408
408
setting : dict ,
409
409
default_setting : dict ,
410
- ): #pylint: disable=too-many-arguments
410
+ ):
411
411
"""
412
412
Run a noisy sample
413
413
@@ -486,7 +486,7 @@ def create_noise_settings(
486
486
num_matches : int ,
487
487
comp_tracks : np .ndarray ,
488
488
ref_tracks : np .ndarray ,
489
- ): #pylint: disable=too-many-arguments
489
+ ):
490
490
"""
491
491
Create a list of noise settings that should be executed from the given
492
492
parameters.
@@ -546,7 +546,7 @@ def evaluate_sequence(
546
546
num_false_pos : int = 500 ,
547
547
num_idsw : int = 500 ,
548
548
num_matches : int = 500 ,
549
- ): #pylint: disable=too-many-arguments
549
+ ):
550
550
"""
551
551
Evaluates a single sequence
552
552
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def create_colored_image(
190
190
ids_to_show : list = None ,
191
191
frame : int = None ,
192
192
parents : dict = None ,
193
- ): #pylint: disable=too-many-arguments
193
+ ):
194
194
"""
195
195
Creates a colored image from the input image and the results.
196
196
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def create_detection_test_matrix(
212
212
labels_comp : list ,
213
213
mapped_ref : list ,
214
214
mapped_comp : list ,
215
- ): #pylint: disable=too-many-arguments
215
+ ):
216
216
"""
217
217
Creates the detection test matrix for the input tracks. The detection test
218
218
is stored as a sparse matrix with num_V_C rows and num_V_R columns. The
@@ -250,7 +250,7 @@ def count_acyclic_graph_correction_operations(
250
250
labels_comp : list ,
251
251
mapped_ref : list ,
252
252
mapped_comp : list ,
253
- ): #pylint: disable=too-many-arguments
253
+ ):
254
254
"""
255
255
Calculates the necessary operations to correct the result tracks to match
256
256
the ground truth tracks. The operations are counted according to:
You can’t perform that action at this time.
0 commit comments