Closed NikolasMorshuis closed 1 year ago
Hello @NikolasMorshuis, thanks very much for raising these issues. I'm unable to work on it at the moment, but if you have some ideas for a quick fix, the code is here you'd be more than welcome to submit a PR.
CC also @Gaskell-1206.
Hi @mmuckley, thank you for your quick response, I have created a pull request that should fix the issues.
Fixed by PR #276.
Hi, there are two problems with the AnnotatedSliceDataset class:
1.: The annotation_version is an optional argument in the class. In the description it says:
However, if we do not specify the version and leave the default value None, no annotation data will be fetched. Either the description should be adjusted or the program should fetch the most recent data.
Minimal code to reproduce the issue:
2.: If we provide a annotation_version, another issue occurs:
The problem is that some lines in the annotation dataset have NaN values for x and hence we get the error message when trying to take int(NaN). An example of such a line can be seen in the following example (last line):
Minimal working example to reproduce the issue: