gnn-tracking / gnn_tracking

Reconstruct billions of particle trajectories with graph neural networks
https://gnn-tracking.rtfd.io/
MIT License
33 stars 17 forks source link

switch to ruff #407

Closed klieret closed 1 year ago

klieret commented 1 year ago

Fixes #274

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 74.35% and project coverage change: -0.09% :warning:

Comparison is base (8fe0157) 73.22% compared to head (66507e5) 73.13%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #407 +/- ## ========================================== - Coverage 73.22% 73.13% -0.09% ========================================== Files 50 50 Lines 3305 3306 +1 ========================================== - Hits 2420 2418 -2 - Misses 885 888 +3 ``` | [Files Changed](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking) | Coverage Δ | | |---|---|---| | [src/gnn\_tracking/analysis/latent.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9hbmFseXNpcy9sYXRlbnQucHk=) | `88.57% <ø> (ø)` | | | [...c/gnn\_tracking/graph\_construction/graph\_builder.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9ncmFwaF9jb25zdHJ1Y3Rpb24vZ3JhcGhfYnVpbGRlci5weQ==) | `77.51% <ø> (ø)` | | | [src/gnn\_tracking/utils/lightning.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy91dGlscy9saWdodG5pbmcucHk=) | `39.49% <0.00%> (-0.68%)` | :arrow_down: | | [src/gnn\_tracking/utils/plotting.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy91dGlscy9wbG90dGluZy5weQ==) | `26.17% <33.33%> (ø)` | | | [src/gnn\_tracking/postprocessing/dbscanscanner.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9wb3N0cHJvY2Vzc2luZy9kYnNjYW5zY2FubmVyLnB5) | `95.23% <75.00%> (-0.96%)` | :arrow_down: | | [.../gnn\_tracking/preprocessing/point\_cloud\_builder.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9wcmVwcm9jZXNzaW5nL3BvaW50X2Nsb3VkX2J1aWxkZXIucHk=) | `84.72% <87.50%> (+0.07%)` | :arrow_up: | | [src/gnn\_tracking/analysis/graphs.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9hbmFseXNpcy9ncmFwaHMucHk=) | `88.18% <100.00%> (ø)` | | | [src/gnn\_tracking/graph\_construction/k\_scanner.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9ncmFwaF9jb25zdHJ1Y3Rpb24va19zY2FubmVyLnB5) | `78.81% <100.00%> (ø)` | | | [src/gnn\_tracking/metrics/losses.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9tZXRyaWNzL2xvc3Nlcy5weQ==) | `76.59% <100.00%> (-0.13%)` | :arrow_down: | | [...nn\_tracking/preprocessing/exatrkx\_cell\_features.py](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking#diff-c3JjL2dubl90cmFja2luZy9wcmVwcm9jZXNzaW5nL2V4YXRya3hfY2VsbF9mZWF0dXJlcy5weQ==) | `97.31% <100.00%> (ø)` | | | ... and [3 more](https://app.codecov.io/gh/gnn-tracking/gnn_tracking/pull/407?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gnn-tracking) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.