Git Product home page Git Product logo

bidsqc's People

Contributors

dcosme avatar kdestasio avatar pn2200 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bidsqc's Issues

add series name info to output files

would it be possible to add info in the bids conversion output files to reflect the series name of the files being copied over? for example, if there are 3 functional runs, and only two make it into pretty bids format, the output might say "error: wrong number of files; largest file copied", but it would be nice to know the original name of the file too.

Make moving files an explicit option

Currently, the qualitycheck.py script will move files that do not match the template established in the file qualitycheck_config.py to the temporary directory specified in the configuration file. Moving files should be made an explicit option in the config file just as renaming files is an explicit option.

The default behavior of the qualitycheck.py script should be set to produce a log that describes the dataset, but does nothing to the files themselves. Explicit options can then be set to move or rename files based on whether they adhere to the config file specifications.

Improve readability of qualitycheck output

The current output of the qualitycheck.py script is lengthy and difficult to use. It is split into output and error logs, but the content of each is not intuitive. Refine the output so it is more user friendly.

Add option to omit ses- tag in file names for single session data

The dcm2bids_batch.py script currently requires a session number in the third column of the subject_list.txt file. That number is used to create the ses-label portion of file names when converted into BIDS. However, the BIDS spec does not expect a ses- tag in the file name for data collected within a single session. It would make sense to have an option that can select for single session data or multiple session data and that names the files accordingly with or without the ses- tag.

Here is the error if a user tries to omit session information from the subject_list.txt file

Traceback (most recent call last):
  File "dcm2bids_batch.py", line 105, in <module>
    main()
  File "dcm2bids_batch.py", line 17, in main
    batch_jobs(cfg.subjectlist, cfg.path_dicoms, cfg.path_config, cfg.path_bidsdata)
  File "dcm2bids_batch.py", line 27, in batch_jobs
    wave = entry.split(",")[2]
IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.