Comments (10)
Hi,
Yes that was the problem, should've noticed. Thank you, that was resolved.
BTW, regarding the JSON, I meant you only need changing 'Model20p_bids.json' file instead of all other files, but this option only allows one task per dataset.
Because the value in 'task' in the filename seems not sufficient to use as task value, I'm considering other options, such as combine with task_event file, which researcher required to upload for task-based fMRI, so be more flexible with multiple task design.
If you only have resting-state data at this point, please fill out the 'TaskName' field in Model20p_bids.json such as 'resting state'. It would create the JSON for all single files with the given value. I hope this works for you.
Yes this fixed the Task issue as well.
My suggestion would be to consider multiple tasks, that could be implemented from your XLSX file for easiness. Such as rest1, rest2, or rest, visual, etc.
Thanks again, we are loving this converter and our lab will use it for now.
from brkraw.
I ran everything again with the "default" SessID
and it worked.
Can SessID be modified such as SubjectID?
Otherwise, it worked great.
Thank you
Eduardo
from brkraw.
In the JSON, "TaskName": "Value was not specified"
, however I did put rest
as the task in the XLSX.
from brkraw.
@egarza could you send me the xlsx file showing the issue?
from brkraw.
It's in my comment. It's a Google drive
from brkraw.
@egarza The SessID is modifiable as SubjID. According to the error message you posted, it seems the pandas do not recognize the 'SessID' column. So wondering if the file you put a link on your commend is the file that causing the error or with the default session?
Thanks!
from brkraw.
@egarza Regarding the JSON, The "Value was not specified" message will be added when it is assigned as null at the JSON file, and unfortunately, the JSON does not communicate with BIDS sheets, so you need to provide the value for the TaskName by editing the JSON file.
This means that if you have multiple tasks design, it requires manual updates for a single file.
I'm considering making an additional tool to handle that since it is really hard to implement on the conversion step without the user input, but if you have any suggestions (such as using task field value to implant JSON is enough) I could implement that.
from brkraw.
The file I uploaded was the one that DID NOT work. I can upload the file that DID work. I just left the SessID
alone, no changes on the column name. I'll upload the working file in a moment.
About the JSON, if the task field from the XLSX can be sent to the JSON that would help a lot, otherwise changing eaach individual JSON can become challenging.
Thanks
from brkraw.
@egarza BTW, regarding the JSON, I meant you only need changing 'Model20p_bids.json' file instead of all other files, but this option only allows one task per dataset.
Because the value in 'task' in the filename seems not sufficient to use as task value, I'm considering other options, such as combine with task_event file, which researcher required to upload for task-based fMRI, so be more flexible with multiple task design.
If you only have resting-state data at this point, please fill out the 'TaskName' field in Model20p_bids.json such as 'resting state'. It would create the JSON for all single files with the given value. I hope this works for you.
from brkraw.
@egarza Regarding the BIDS sheet, the error caused because the BIDS sheet is not the first datasheet in excel. My code only takes the sheet located at first tap, so when it processed it takes an empty sheet. (It not related to the name of the sheet. To prevent a future issue with this, I will make an update to take a sheet only with a particular name (such as BIDS), so adding an additional sheet could not affect conversion.
If you change the above as below, it will work again.
I hope this can resolve your problem. And thank you for reporting this issue
from brkraw.
Related Issues (20)
- BIDS - Computation of SliceTiming HOT 2
- automated test in CI: bring them back online HOT 2
- modernize packaging
- add some style guide lines HOT 1
- duplicate "contributing" file
- automate the build of the docker image HOT 1
- use a citation.cff file to keep track of metadata to be ingested by zenodo upon release
- Sourcery refactoring suggestions HOT 1
- consider moving the doc within package repo HOT 1
- Fails conversion with tonii_all HOT 7
- Jupyter notebook tutorial gives FileNotValid error HOT 2
- Convert specific file via CLI HOT 4
- The `--output` parameter cannot control the file name (additional elements get auto-added so you need to concatenate with mv to actually get the filenames you want...) HOT 1
- Bids_helper quits when method file is missing HOT 1
- Upcoming Major Update 0.4.0: Scheduled for Mid May 2024 HOT 1
- Regular Bruker recon tools from raw fid HOT 2
- Compressed Sensing Reconstruction for Undersampled Cartesian Sequences PV360.3.3<
- GUI Unable to open PV7 and PV360 zip files HOT 6
- Streamlining Data Operations in Brkraw: Introducing 'PvScan' and 'PvReco' for Enhanced Raw Data Management. HOT 1
- Integration of Brkraw into Neurodesktop HOT 3
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 brkraw.