-
-
Notifications
You must be signed in to change notification settings - Fork 5
Use dcm2bids for conversion #89
Comments
Example of code to add in the config file that could accommodate our fieldmaps
|
It seems that dcm2bids is not compatible with Windows. |
the answer is in the thread: Heudiconv seems to work in windows |
So do you propose to work with Heudiconv instead of dcm2bids ? Or just to include a "if" in the code that switches to Heudiconv if we run matlab from Windows ? |
yup!
omg, no "if" please 😅 |
it's just, for some reason, on Windows the other scripts aren't wrapped in a .exe, even though they are copied to the Scripts\ folder. So it's not quite packaged properly but we can get that fixed if we raise it as a bug with them. I tried to do |
Okay so here's the deal: the version on pypi is broken, but only for Windows: UNFmontreal/Dcm2Bids#79; it hasn't been updated in over a year though. Conversely, the latest HEAD source version which has been getting work since the last PyPI publish, does work for Windows, except it is broken worse: UNFmontreal/Dcm2Bids#76. If we can solve UNFmontreal/Dcm2Bids#76 for them then we can it working on Windows. EDIT: fixed UNFmontreal/Dcm2Bids#80 @gaspardcereza, please try this command:
I had to patch it to get it working, so you have to install my unofficial version, but that line should get you a working copy of the tool. When the original author has some time hopefully they'll be able to republish a working copy directly to pypi. And definitely record this line in your Windows-compatiblity notebook. |
@gaspardcereza that would be a good coding exercise for your 😊 |
I'm currently having a look at it but it seems that Nick already solved the problem by importing the subpackages ! 😉 |
https://github.com/cbedetti/Dcm2Bids
The text was updated successfully, but these errors were encountered: