Skip to content

Commit 6873f90

Browse files
committed
Fixed Pylint and Readme
1 parent 7874a48 commit 6873f90

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Py-CTCMetrics
77
A python implementation of the metrics used in the paper
8-
[CHOTA: A Higher Order Accuracy Metric for Cell Tracking](https://arxiv.org/abs/2408.11571) by
8+
[CHOTA: A Higher Order Accuracy Metric for Cell Tracking](https://link.springer.com/chapter/10.1007/978-3-031-91721-9_8) by
99
*Timo Kaiser et al.*. The code is
1010
designed to evaluate tracking results in the format of the
1111
[Cell-Tracking-Challenge](https://celltrackingchallenge.net/) but can also be used

ctc_metrics/metrics/biological/bc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ def is_matching(
7777
if len(ref_children) != len(comp_children):
7878
return False
7979
# Compare parents
80-
t1, t2 = min(tr, tc), max(tr, tc)
80+
t1, _ = min(tr, tc), max(tr, tc)
8181
mr, mc = mapped_ref[t1], mapped_comp[t1]
8282
if np.sum(mc == id_comp) < 1 or np.sum(mr == id_ref) != 1:
8383
return False
8484
ind = np.argwhere(mr == id_ref).squeeze()
8585
if mc[ind] != id_comp:
8686
return False
87-
# # Compare children ### WHAT IS A CORRECT DETECTED MITOSIS? CHILDREN ARE NOT IMPORTANT NOW
87+
# # Compare children ### WHAT IS A CORRECT DETECTED MITOSIS?
8888
# mr, mc = np.concatenate(mapped_ref[t2 + 1]), np.concatenate(mapped_comp[t2 + 1])
8989
# if not np.all(np.isin(comp_children, mc)):
9090
# return False

0 commit comments

Comments
 (0)