PennLINC / qsiprep

Preprocessing of diffusion MRI
http://qsiprep.readthedocs.io
BSD 3-Clause "New" or "Revised" License
141 stars 58 forks source link

Two desc-<value> pairs in qsirecon output #716

Closed chiuhoward closed 4 months ago

chiuhoward commented 8 months ago

Summary

What were you trying to do?

I was trying to run pyAFQ with qsirecon output as input for pyAFQ.

What did you expect to happen?

I expected pyAFQ to pick up the ifod2.tck files.

What actually happened?

pyAFQ ignored the files which were not compliant as there were two desc- pairs qsirecon_errors.txt .

Reproducing the bug

mattcieslak commented 8 months ago

This is fixed in the next release. If you're interested in trying it out it's available under in the pennbbl/qsiprep:unstable image

tsalo commented 5 months ago

It looks like the PyAFQ outputs still have duplicate entities, like two descs and two spaces in sub-ABCD_acq-10per000_space-T1w_desc-preproc_dwimap/ROIs/sub-ABCD_acq-10per000_space-T1w_desc-preproc_dwi_space-subject_desc-ARCL1end_mask.nii.gz

chiuhoward commented 5 months ago

Hi @tsalo, what version of pyAFQ are you running? the ARC abbreviation in the ROI mask leads me to believe that this is pyAFQ<1.3

tsalo commented 5 months ago

That's just one of the outputs from the integration tests in https://github.com/PennLINC/qsiprep/pull/763, so it's whatever PyAFQ version is bundled into the current unstable version of QSIPrep.

chiuhoward commented 5 months ago

@tsalo this should have been fixed in the current release of pyAFQ, if i’m reading the code correctly…

anecdotally, my outputs are also BIDS compliant

arokem commented 5 months ago

Looks like qsiprep is pinning to <=1.3.1. Is there a reason to do that? Current pyAFQ is 1.3.2, which may fix this.

tsalo commented 5 months ago

Setting max versions makes it less likely that backwards-incompatible dependency releases will be merged in. I imagine @mattcieslak just hasn't gotten around to updating the pinned PyAFQ version.

arokem commented 5 months ago

OK - let's give it a try: https://github.com/PennLINC/qsiprep/pull/764