rob-luke / fnirs-apps-sourcedata2bids

fNIRS Apps: Sourcedata to BIDS
http://fnirs-apps.org
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

No subjects found / "No valid datatype present" #40

Open dmhohmann opened 2 years ago

dmhohmann commented 2 years ago

Dear Rob,

:heavy_check_mark: UPDATE: I just tried it on linux and it worked. :penguin::magic_wand: :grey_question: Still, do you know about any windows path problems and how to solve them?

may I ask for your help? It must be some simple twitch that I'm missing.

Apparently, the sourcedata2bids image can't find my subject folders, i. e. returns an empty subject list []. Also, when I try to give the extra argument --subject-label 01, it can't find the respective nirs folder (FileNotFoundError: [Errno 2] No such file or directory: '/bids_dataset/sourcedata/sub-01/nirs').

This is odd, as I'm pretty sure my sourcedata is structured in a "bids-comprehensible" way. I also tried e. g. having subfolders in the nirs folders, but it doesn't change a thing. Do you have any ideas? Could it be a mapping problem in docker? (I'm using Win10 and Docker Quickstart Terminal.)

My sourcedata and docker errors are attached. Thank you in advance!

Best, Dani

bids_structure docker_s2b_error docker_s2b_error_sublabel

rob-luke commented 2 years ago

Hi @dmhohmann, Thanks for taking the time to report this. I have a few sneaking suspicions about what might be happening here. I have access to a Windows machine, so I will test it over the next few days and get back to you.

rob-luke commented 2 years ago

I am also glad you found a work around by using Linux. But lets try and fix the problem still :)

dmhohmann commented 2 years ago

Thanks for looking after this! I guess it was just another hint at me that linux is the way to go :stuck_out_tongue_closed_eyes:

There's two more things I've noticed upon following the fnirs apps tutorial (http://fnirs-apps.org/tutorial/) so far: