Code Monkey home page Code Monkey logo

Comments (4)

BorisMansencal avatar BorisMansencal commented on June 20, 2024

Could you try without the leading "/" in the paths ?

T1/S0004.nii,66,Male
T1/S0005.nii,58,Female
T1/S0006.nii,69,Female
T1/S0007.nii,75,Female
T1/S0010.nii,69,Female
T1/S0012.nii,64,Male
T1/S0016.nii,79,Female
T1/S0017.nii,60,Female

from assemblynet.

Luoyu-Wang avatar Luoyu-Wang commented on June 20, 2024

Thank you for your reply but I found that there are still errors:
cmd= python3 -u make_reports.py -root-dir /data -global-csv /out/global_volumetry_info.csv -age-sex-csv /out/agesex1.csv "/tmp/t1_0.nii.gz" "/data/S0004.nii"
python3 -u make_reports.py -root-dir /data -global-csv /out/global_volumetry_info.csv -age-sex-csv /out/agesex1.csv "/tmp/t1_0.nii.gz" "/data/S0004.nii"
ERROR: column filename not found in filename: /out/agesex1.csv
age=UNKNOWN sex=UNKNOWN

from assemblynet.

BorisMansencal avatar BorisMansencal commented on June 20, 2024

Yes, I forgot to say that the first row of the csv must have the columns names.
(I will update the README accordingly)
For example:

#filename,age,sex
T1/S0004.nii,66,Male
T1/S0005.nii,58,Female
T1/S0006.nii,69,Female
T1/S0007.nii,75,Female
T1/S0010.nii,69,Female
T1/S0012.nii,64,Male
T1/S0016.nii,79,Female
T1/S0017.nii,60,Female

If it still does not work, could you tell what your exact command line is ?
( If you call the docker with "-v /some_path/T1:/data", you do not have to put "T1/" in the filenames in the csv.
If you have "T1/" in the filenames in the csv, it means that "T1" is a subdirectory of the directory mounted as /data, and that you are using "-recursive" on the command line)

from assemblynet.

Luoyu-Wang avatar Luoyu-Wang commented on June 20, 2024

Thank you and the issue has been solved.

from assemblynet.

Related Issues (12)

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.