UCL / UCL/STIR

PETSIRD reading clean-up

Open
#1,735 1 comment 0 reactions 1 assignee View on GitHub

@KrisThielemans is already working on this.

Since Aug 1, 2026.

Dominant language
C++
Stars
160
Forks
113
Avg merge
12d 15h
Merged PRs (30d)
1

Description

CListModeDataPETSIRD currently contains a lot of repeated code. I suggest to

  • call seek_to_event_block_index from reopen_and_prime
  • call reopen_and_prime from reset
  • call reset from the constructor, therefore removing a bug if the first time-block is not an event time-block

@AlanOsys want to give this a go?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.