PeerHerholz / BIDSonym

a BIDS app for pseudo-anonymization of neuroimaging data
https://peerherholz.github.io/BIDSonym/
BSD 3-Clause "New" or "Revised" License
51 stars 14 forks source link

Bidsonym single session #40

Closed araikes closed 3 years ago

araikes commented 3 years ago

I've tracked down the primary issue in #39 to this line:

https://github.com/PeerHerholz/BIDSonym/blob/fdc969cd10b49a5fc3ffa44a2f6cbbdd2268fc9a/bidsonym/run_deeid.py#L117

In single-session datasets, this crashes because the sessions iterator is empty.

PeerHerholz commented 3 years ago

Ahoi hoi @araikes,

I'm super sorry for the late reply and the absence from this repo. Thank you very much for bringing this issue up. I actually solved this problem a while back, but didn't push the changes yet. This will happen asap.