Skip to content

Fix test_listmode for TOF LOR swap - #1791

Merged
casperdcl merged 1 commit into
masterfrom
fix-tof-swap
Nov 12, 2026
Merged

casperdcl merged 1 commit into
masterfrom
fix-tof-swap

Conversation

@casperdcl

@casperdcl casperdcl commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

@casperdcl casperdcl added the bug label Nov 12, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@casperdcl casperdcl mentioned this pull request Nov 12, 2026
@casperdcl casperdcl self-assigned this Nov 12, 2026
@casperdcl casperdcl added this to the v6.5.1 milestone Nov 12, 2026
lor = event.get_LOR()
event.get_bin(b, proj_data_info);
diff = stir.FloatCartesianCoordinate3D(lor.p1() - stir.Float3BasicCoordinate((-2.03125, 325.646, -78.6102)))
# second event has negative TOF bin, so CListEventROOT swaps LOR end points

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l'll simplify this comment, as the swapping that's going on is rather weird

@casperdcl
casperdcl merged commit 7ea5c91 into master Nov 12, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_listmode.py failing on when building on conda-forge

2 participants