This repository was archived by the owner on Feb 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
AFQ-Insight, AFQ-Browser not compatible with pyAFQ_tractometry from qsiprep? #140
Copy link
Copy link
Open
Description
Goal: Use qsiprep generated pyafq-tractometry results with AFQ-Browser and AFQ-Insight.
Problem: I cannot display my results in AFQ-Browser: I cannot find the streamlines.json file, nor is it clear to me how to find the x,y,z coordinates that appear to be necessary for that file.
I'm really spinning my wheels here. Any help would be greatly appreciated.
What I did:
- I ran qsiprep 0.19 and then the pyafq_tractometry reconstruction pipeline on the HPC.
- Subsequently, I installed AFQ-Browser in conda on Ubuntu 22 and copied my qsirecon derivatives directory to that machine.
- I tried the path to the top level qsirecon directory, and then to the subject level and session level, and even the dwi directory.
- The error is the same in every case.
Command-line output:
(pyafqbrowser) [dema:Downloads () 2048] $ afqbrowser-assemble ./qsirecon_pyafq_tractometry/
Page title [AFQ Browser]:
Page subtitle [None]:
Title hyperlink (including http(s)://) [None]: test
Subtitle hyperlink (including http(s)://) [None]:
Traceback (most recent call last):
File "/home/dpat/miniconda3/envs/pyafqbrowser/bin/afqbrowser-assemble", line 53, in <module>
afqb.assemble(args.source, target=args.target, metadata=args.metadata,
File "/home/dpat/miniconda3/envs/pyafqbrowser/lib/python3.8/site-packages/afqbrowser/browser.py", line 635, in assemble
tracula2nodes(source, out_path=out_path, metadata=metadata)
File "/home/dpat/miniconda3/envs/pyafqbrowser/lib/python3.8/site-packages/afqbrowser/browser.py", line 306, in tracula2nodes
nodes_df = pd.concat(dfs)
File "/home/dpat/miniconda3/envs/pyafqbrowser/lib/python3.8/site-packages/pandas/core/reshape/concat.py", line 372, in concat
op = _Concatenator(
File "/home/dpat/miniconda3/envs/pyafqbrowser/lib/python3.8/site-packages/pandas/core/reshape/concat.py", line 429, in __init__
raise ValueError("No objects to concatenate")
ValueError: No objects to concatenate
# In case I got the path wrong:
(pyafqbrowser) [dema:Downloads () 2050] $ cd qsirecon_pyafq_tractometry/
(pyafqbrowser) [dema:qsirecon_pyafq_tractometry () 2052] $ afqbrowser-assemble ./sub-CAM003/ses-01brain/dwi/Metadata
Metadata
Assignees
Labels
No labels