Comments (12)
@rnair07 great!
it works now! Thanks a lot!
This is the fastest response I ever had online!
from bidskit.
Hi @rnair07 - let me fix #29 before you update the Docker image. Should have a fix today.
from bidskit.
Perfect - good to know! I'll be creating an updated docker image with additional features as per the new convertor script, so do keep an eye out for that! :)
from bidskit.
Yes, post first pass conversion, the files are in the conversion folder. You then need to edit the protocol translator as per BIDS conventions and run a second pass. More info. here: https://github.com/jmtyszka/bidskit#second-pass-conversion and here :https://github.com/jmtyszka/bidskit#edit-translator-dictionary
That puts the files in the BIDS folder.
from bidskit.
Hi Chuan-Peng,
Thanks for the detailed breakdown of the issue - really appreciate the screencaps. Do you see a conversion/ subfolder in analysis/work/ and does it contain any .json or nii.gz files? Trying to work out if the dcm2niix conversion failed somehow. I've tagged @nair-r on this too - she's our container expert.
So far we've tested under Centos/Linux and OS X, but I'll extend this to Windows 7/8/10 asap to see if I can reproduce this behaviour (and fix it).
from bidskit.
Hi @hcp4715 - let me look into this and update soon. There have been several new fixes and updates to the bids converter over the last few days which I'd like to incorporate into the new docker image as well. In the meantime, same question as Mike : did it create any interim files whatsoever, such as the protocol translator in the derivatives folder?
from bidskit.
Hi @hcp4715 - could you confirm this as well: Your command mounts the path that includes 'raw_dicom' whereas your folder structure shows only '../../analysis/dicom' and not raw_dicom. Does raw_dicom contain all the same files as dicom folder? Could you re-check/change the path and retry - just want to rule out path errors.
from bidskit.
@hcp4715 Sorry for spamming :) Try this command: specifies the path correctly:
docker run -it -v G:\Data\coiltest\analysis:/mnt rnair07/bidskit --indir=/mnt/dicom --outdir=/mnt/BIDS
This assumes all your subjects dicom are in the 'dicom' folder which is a sub-folder of 'analysis'.
from bidskit.
Thanks so much for the quick response!
@jmtyszka in the analysis/work/ folder, there is a folder called conversion, but the conversion folder is empty; the analysis/derivative/conversion contain a .json file called "Protocol_Translator.json", but it is empty too.
@rnair07 , thanks for pointing that out, I put my raw data in analysis/dicom, tried
docker run -it -v G:\Data\coiltest\analysis\dicom:/mnt rnair07/bidskit --indir=/mnt/dicom --outd
ir=/mnt/BIDS
the results is the same.
from bidskit.
Hi @hcp4715 you don't actually need to specify the dicom folder when mounting, only need to specify it in the --indir flag. Use the command docker run -it -v G:\Data\coiltest\analysis:/mnt rnair07/bidskit --indir=/mnt/dicom --outdir=/mnt/BIDS
instead of docker run -it -v G:\Data\coiltest\analysis\dicom:/mnt rnair07/bidskit --indir=/mnt/dicom --outdir=/mnt/BIDS
from bidskit.
update: the converted file was in 'work/conversion', not in BIDS
from bidskit.
Hi, @nair-r ,
I two addition minor issues:
first, the code for the second pass was as below on the website :
docker run -it -v /PATH_TO_YOUR_RAW_DICOM_FOLDER/:/mnt rnair07/bidskit --indir=/mnt/dicom --outdir=/mnt/source
If I understand correctly, the final BIDS file should be in the BIDS folder, instead of the source folder, so the 'outdir=/mnt/source' should change to 'outdir=/mnt/BIDS' if I hope to put the converted files in BIDS folder. Am I right?
Second, after I delete all the folders generated by the first pass ( because I trying to do the whole process again), and tried to run the first pass conversion again, the output showed that the protocol dictionary already exists. Only after restart docker could I re-run the first-pass.
from bidskit.
Related Issues (20)
- Documentation for Injecting New Subjects into BIDS Directory HOT 4
- JSON files for magnitude images HOT 1
- Uncompressed but gz extension HOT 1
- Illegal characters not stripped in BIDS filename key values with --auto HOT 1
- BIDS validation error for fieldmaps after conversion HOT 16
- default readme in BIDS dataset after conversion HOT 3
- Second pass error HOT 6
- 'SerDesc' key error HOT 4
- .bval and .bvec export depends on dwi filename HOT 2
- Second pass error : KeyError: 'ScanningSequence' HOT 3
- Read-the-Docs page is an empty stub
- Not anonymizing HOT 1
- Second pass issue HOT 1
- Error when using --no-sessions option and only one subject is converted HOT 2
- Question about data structuring prior to running BIDSKIT
- Acquisition suffix is duplicated when multiple runs HOT 5
- IntendedFor fields with incorrect slash when running in Windows
- TypeError: can only concatenate list (not "str") to list HOT 6
- Adding flexibility to --bind-fmaps
- --bind-fmaps not yet set up to work with --no-sessions HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bidskit.