Closed eric2302 closed 1 year ago
dfrms['timings'] is a list, which is inside the dictionary. if you get a problem here that means there is another problem somewhere else
have also look at here: https://niftypet.readthedocs.io/en/latest/tutorials/dynrecon/
Yes, this is a bug. Also multiple near-identical definitions:
The function
mmrchain
in the pipeline codepipe.py
takes in a time frame, converts it into a dictionary and then tries to index it (e.g. here). This results in an error since dictionaries cannot be sliced.Shouldn't the timing variable be
t_frms = dfrms['timings'][1:]
?