balbasty / nitorch

Neuroimaging in PyTorch
Other
86 stars 14 forks source link

Fix to vexp CLI #75

Closed brudfors closed 1 year ago

brudfors commented 1 year ago

with these fixes, converting a velocity field to a displacement field works well for me.

balbasty commented 1 year ago

Thanks @brudfors ! (I am not sure why the displacement stuff was not working, since (type.lower()[0] == 'd') should yield a bool, but anyway the change makes it more readable)