traccuracy 0.4.1__tar.gz → 0.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. {traccuracy-0.4.1/src/traccuracy.egg-info → traccuracy-0.4.2}/PKG-INFO +1 -1
  2. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/_tracking_graph.py +4 -1
  3. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/loaders/_geff.py +3 -0
  4. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_iou.py +1 -1
  5. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_point_seg.py +2 -1
  6. {traccuracy-0.4.1 → traccuracy-0.4.2/src/traccuracy.egg-info}/PKG-INFO +1 -1
  7. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/bench.py +1 -1
  8. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/loaders/test_geff.py +1 -1
  9. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/test_tracking_graph.py +4 -0
  10. {traccuracy-0.4.1 → traccuracy-0.4.2}/.gitattributes +0 -0
  11. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/ISSUE_TEMPLATE/bugs.md +0 -0
  12. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/ISSUE_TEMPLATE/features.md +0 -0
  13. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/PULL_REQUEST_TEMPLATE/new_matcher_metric.md +0 -0
  14. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  15. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/dependabot.yml +0 -0
  16. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/release.yml +0 -0
  17. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/workflows/benchmark-pr.py +0 -0
  18. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/workflows/benchmark-report.yml +0 -0
  19. {traccuracy-0.4.1 → traccuracy-0.4.2}/.github/workflows/ci.yml +0 -0
  20. {traccuracy-0.4.1 → traccuracy-0.4.2}/.gitignore +0 -0
  21. {traccuracy-0.4.1 → traccuracy-0.4.2}/.pre-commit-config.yaml +0 -0
  22. {traccuracy-0.4.1 → traccuracy-0.4.2}/.readthedocs.yml +0 -0
  23. {traccuracy-0.4.1 → traccuracy-0.4.2}/LICENSE +0 -0
  24. {traccuracy-0.4.1 → traccuracy-0.4.2}/README.md +0 -0
  25. {traccuracy-0.4.1 → traccuracy-0.4.2}/developer_notes.md +0 -0
  26. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/Makefile +0 -0
  27. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/make.bat +0 -0
  28. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/_static/css/tablefix.css +0 -0
  29. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/cli.md +0 -0
  30. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/conf.py +0 -0
  31. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/examples/ctc.nblink +0 -0
  32. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/glossary.md +0 -0
  33. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/index.md +0 -0
  34. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/matchers/matchers.md +0 -0
  35. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/basic.md +0 -0
  36. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/chota.md +0 -0
  37. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/complete_tracks.md +0 -0
  38. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/ctc.md +0 -0
  39. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/divisions.md +0 -0
  40. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/metrics.md +0 -0
  41. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/metrics/track_overlap.md +0 -0
  42. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/test_cases/divisions.md +0 -0
  43. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/test_cases/errors.md +0 -0
  44. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/test_cases/index.md +0 -0
  45. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/test_cases/larger_examples.md +0 -0
  46. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/test_cases/matchers.md +0 -0
  47. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/track_errors/basic.md +0 -0
  48. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/track_errors/ctc.md +0 -0
  49. {traccuracy-0.4.1 → traccuracy-0.4.2}/docs/source/track_errors/divisions.md +0 -0
  50. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/ctc.ipynb +0 -0
  51. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask000.tif +0 -0
  52. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask001.tif +0 -0
  53. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask002.tif +0 -0
  54. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask003.tif +0 -0
  55. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask004.tif +0 -0
  56. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask005.tif +0 -0
  57. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask006.tif +0 -0
  58. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask007.tif +0 -0
  59. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask008.tif +0 -0
  60. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask009.tif +0 -0
  61. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask010.tif +0 -0
  62. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask011.tif +0 -0
  63. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask012.tif +0 -0
  64. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask013.tif +0 -0
  65. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask014.tif +0 -0
  66. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask015.tif +0 -0
  67. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask016.tif +0 -0
  68. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask017.tif +0 -0
  69. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask018.tif +0 -0
  70. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask019.tif +0 -0
  71. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask020.tif +0 -0
  72. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask021.tif +0 -0
  73. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask022.tif +0 -0
  74. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask023.tif +0 -0
  75. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask024.tif +0 -0
  76. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask025.tif +0 -0
  77. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask026.tif +0 -0
  78. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask027.tif +0 -0
  79. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask028.tif +0 -0
  80. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask029.tif +0 -0
  81. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask030.tif +0 -0
  82. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask031.tif +0 -0
  83. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask032.tif +0 -0
  84. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask033.tif +0 -0
  85. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask034.tif +0 -0
  86. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask035.tif +0 -0
  87. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask036.tif +0 -0
  88. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask037.tif +0 -0
  89. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask038.tif +0 -0
  90. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask039.tif +0 -0
  91. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask040.tif +0 -0
  92. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask041.tif +0 -0
  93. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask042.tif +0 -0
  94. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask043.tif +0 -0
  95. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask044.tif +0 -0
  96. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask045.tif +0 -0
  97. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask046.tif +0 -0
  98. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask047.tif +0 -0
  99. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask048.tif +0 -0
  100. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask049.tif +0 -0
  101. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask050.tif +0 -0
  102. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask051.tif +0 -0
  103. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask052.tif +0 -0
  104. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask053.tif +0 -0
  105. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask054.tif +0 -0
  106. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask055.tif +0 -0
  107. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask056.tif +0 -0
  108. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask057.tif +0 -0
  109. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask058.tif +0 -0
  110. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask059.tif +0 -0
  111. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask060.tif +0 -0
  112. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask061.tif +0 -0
  113. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask062.tif +0 -0
  114. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask063.tif +0 -0
  115. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask064.tif +0 -0
  116. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask065.tif +0 -0
  117. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask066.tif +0 -0
  118. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask067.tif +0 -0
  119. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask068.tif +0 -0
  120. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask069.tif +0 -0
  121. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask070.tif +0 -0
  122. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask071.tif +0 -0
  123. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask072.tif +0 -0
  124. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask073.tif +0 -0
  125. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask074.tif +0 -0
  126. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask075.tif +0 -0
  127. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask076.tif +0 -0
  128. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask077.tif +0 -0
  129. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask078.tif +0 -0
  130. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask079.tif +0 -0
  131. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask080.tif +0 -0
  132. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask081.tif +0 -0
  133. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask082.tif +0 -0
  134. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask083.tif +0 -0
  135. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask084.tif +0 -0
  136. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask085.tif +0 -0
  137. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask086.tif +0 -0
  138. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask087.tif +0 -0
  139. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask088.tif +0 -0
  140. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask089.tif +0 -0
  141. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask090.tif +0 -0
  142. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/mask091.tif +0 -0
  143. {traccuracy-0.4.1 → traccuracy-0.4.2}/examples/sample-data/Fluo-N2DL-HeLa/01_RES/res_track.txt +0 -0
  144. {traccuracy-0.4.1 → traccuracy-0.4.2}/pyproject.toml +0 -0
  145. {traccuracy-0.4.1 → traccuracy-0.4.2}/scripts/download_test_data.py +0 -0
  146. {traccuracy-0.4.1 → traccuracy-0.4.2}/scripts/test_case_report.py +0 -0
  147. {traccuracy-0.4.1 → traccuracy-0.4.2}/setup.cfg +0 -0
  148. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/__init__.py +0 -0
  149. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/_run_metrics.py +0 -0
  150. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/cli.py +0 -0
  151. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/loaders/__init__.py +0 -0
  152. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/loaders/_ctc.py +0 -0
  153. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/loaders/_point.py +0 -0
  154. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/__init__.py +0 -0
  155. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_base.py +0 -0
  156. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_compute_overlap.py +0 -0
  157. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_ctc.py +0 -0
  158. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_matched.py +0 -0
  159. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/matchers/_point.py +0 -0
  160. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/__init__.py +0 -0
  161. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_base.py +0 -0
  162. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_basic.py +0 -0
  163. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_cca.py +0 -0
  164. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_chota.py +0 -0
  165. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_complete_tracks.py +0 -0
  166. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_ctc.py +0 -0
  167. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_divisions.py +0 -0
  168. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_results.py +0 -0
  169. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/metrics/_track_overlap.py +0 -0
  170. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/track_errors/__init__.py +0 -0
  171. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/track_errors/_basic.py +0 -0
  172. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/track_errors/_ctc.py +0 -0
  173. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/track_errors/_divisions.py +0 -0
  174. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy/utils.py +0 -0
  175. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy.egg-info/SOURCES.txt +0 -0
  176. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy.egg-info/dependency_links.txt +0 -0
  177. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy.egg-info/entry_points.txt +0 -0
  178. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy.egg-info/requires.txt +0 -0
  179. {traccuracy-0.4.1 → traccuracy-0.4.2}/src/traccuracy.egg-info/top_level.txt +0 -0
  180. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/__init__.py +0 -0
  181. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/examples/graphs.py +0 -0
  182. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/examples/larger_examples.py +0 -0
  183. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/examples/segs.py +0 -0
  184. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/loaders/__init__.py +0 -0
  185. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/loaders/test_ctc.py +0 -0
  186. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/loaders/test_point.py +0 -0
  187. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/__init__.py +0 -0
  188. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_base.py +0 -0
  189. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_compute_overlap.py +0 -0
  190. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_ctc.py +0 -0
  191. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_iou.py +0 -0
  192. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_matched.py +0 -0
  193. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_point.py +0 -0
  194. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/matchers/test_point_seg.py +0 -0
  195. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/__init__.py +0 -0
  196. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_base.py +0 -0
  197. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_basic.py +0 -0
  198. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_cca.py +0 -0
  199. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_chota.py +0 -0
  200. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_complete_tracks.py +0 -0
  201. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_ctc_metrics.py +0 -0
  202. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_divisions.py +0 -0
  203. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_track_overlap_metrics.py +0 -0
  204. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/metrics/test_weighted_error_sums.py +0 -0
  205. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/test_cli.py +0 -0
  206. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/test_run_metrics.py +0 -0
  207. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/test_utils.py +0 -0
  208. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/track_errors/__init__.py +0 -0
  209. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/track_errors/test_basic.py +0 -0
  210. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/track_errors/test_ctc_errors.py +0 -0
  211. {traccuracy-0.4.1 → traccuracy-0.4.2}/tests/track_errors/test_divisions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: traccuracy
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Utilities for computing common accuracy metrics on cell tracking challenge solutions with ground truth
5
5
  Author-email: Draga Doncila Pop <draga.doncilapop1@monash.edu>, Caroline Malin-Mayor <cmalinmayor@gmail.com>, Morgan Schwartz <msschwartz21@gmail.com>
6
6
  License: BSD 3-Clause License
@@ -154,7 +154,7 @@ class TrackingGraph:
154
154
  graph: nx.DiGraph[Hashable],
155
155
  segmentation: np.ndarray | None = None,
156
156
  frame_key: str = "t",
157
- label_key: str = "segmentation_id",
157
+ label_key: str | None = "segmentation_id",
158
158
  location_keys: str | tuple[str, ...] | None = None,
159
159
  name: str | None = None,
160
160
  validate: bool = True,
@@ -197,6 +197,9 @@ class TrackingGraph:
197
197
  raise TypeError(f"Segmentation must have integer dtype, found {segmentation.dtype}")
198
198
  self.segmentation = segmentation
199
199
 
200
+ if segmentation is not None and label_key is None:
201
+ raise ValueError("`label_key` must be set if `segmentation` is provided")
202
+
200
203
  if NodeFlag.has_value(frame_key):
201
204
  raise ValueError(
202
205
  f"Specified frame key {frame_key} is reserved for graph "
@@ -75,6 +75,7 @@ def load_geff_data(
75
75
  load_props = [*spatial_props, temporal_prop]
76
76
 
77
77
  segmentation = None
78
+ label_key = None
78
79
  # Load segmentation from related objects
79
80
  if load_geff_seg:
80
81
  if meta.related_objects is None:
@@ -96,6 +97,7 @@ def load_geff_data(
96
97
  if seg_path is not None:
97
98
  segmentation = np.asarray(zarr.open_array(seg_path)[:])
98
99
  load_props.append(seg_property) # type: ignore
100
+ label_key = seg_property
99
101
 
100
102
  # Check dimensionality of segmentation if loaded
101
103
  if segmentation is not None and len(segmentation.shape) != 1 + len(spatial_props):
@@ -115,6 +117,7 @@ def load_geff_data(
115
117
  return TrackingGraph(
116
118
  graph=G,
117
119
  segmentation=segmentation,
120
+ label_key=label_key,
118
121
  frame_key=temporal_prop,
119
122
  location_keys=tuple(spatial_props),
120
123
  name=name,
@@ -249,7 +249,7 @@ class IOUMatcher(Matcher):
249
249
  def _compute_mapping(
250
250
  self, gt_graph: TrackingGraph, pred_graph: TrackingGraph
251
251
  ) -> list[tuple[Hashable, Hashable]]:
252
- """Computes IOU mapping for a set of grpahs
252
+ """Computes IOU mapping for a set of graphs
253
253
 
254
254
  Args:
255
255
  gt_graph (TrackingGraph): Tracking graph object for the gt with segmentation data
@@ -43,8 +43,9 @@ class PointSegMatcher(Matcher):
43
43
  else:
44
44
  raise ValueError("Data provided does not contain segmentations.")
45
45
 
46
- # Cast s_graph.segmentation to ndarray to eliminate none possibility
46
+ # Cast s_graph.segmentation and s_graph.label_key to eliminate none possibility
47
47
  s_graph.segmentation = cast("np.ndarray", s_graph.segmentation)
48
+ s_graph.label_key = cast("str", s_graph.label_key)
48
49
 
49
50
  mapping: list[tuple[Any, Any]] = []
50
51
  if s_graph.start_frame is None or s_graph.end_frame is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: traccuracy
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Utilities for computing common accuracy metrics on cell tracking challenge solutions with ground truth
5
5
  Author-email: Draga Doncila Pop <draga.doncilapop1@monash.edu>, Caroline Malin-Mayor <cmalinmayor@gmail.com>, Morgan Schwartz <msschwartz21@gmail.com>
6
6
  License: BSD 3-Clause License
@@ -245,7 +245,7 @@ def test_point_matcher(benchmark, gt_data, pred_data, request):
245
245
  def test_point_seg_matcher(benchmark, gt_data, pred_data, request):
246
246
  gt_data = request.getfixturevalue(gt_data)
247
247
  pred_data = request.getfixturevalue(pred_data)
248
- # Remove segementations from pred data
248
+ # Remove segmentations from pred data
249
249
  pred_data = TrackingGraph(pred_data.graph, location_keys=gt_data.location_keys)
250
250
 
251
251
  benchmark.pedantic(
@@ -66,7 +66,7 @@ class Test_load_geff_data:
66
66
  zarr_path = tmp_path / "test.zarr"
67
67
  geff_path = zarr_path / "tracks"
68
68
  seg_group = "seg"
69
- seg_prop = "segmentation_id"
69
+ seg_prop = "seg_id" # not the default value segmentation_id
70
70
 
71
71
  geff_store, attrs = create_mock_geff(
72
72
  node_id_dtype="uint",
@@ -242,6 +242,10 @@ def test_constructor_seg(nx_comp1_seg):
242
242
  3: {4},
243
243
  }
244
244
 
245
+ # fails is label_key not specified
246
+ with pytest.raises(ValueError, match="`label_key` must be set if `segmentation` is provided"):
247
+ TrackingGraph(nx_comp1, segmentation=segmentation, label_key=None)
248
+
245
249
  # check that it fails on non-int values
246
250
  segmentation = segmentation.astype(np.float32)
247
251
  with pytest.raises(TypeError, match="Segmentation must have integer dtype, found float32"):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes