Deep-MI/BrainPrint-legacy

fs_shapeDNA.py

Closed this issue · 2 comments

Dear Professor Martin Reuter,
Recently, I have read your paper ‘shapeDNA’ and BrainPrint' ', and I would like to do some analysis using our data .so, I downloaded the python scripts (fs_shapeDNA.py ,fs_brainPrint.py) from 'BrianPrint Scripts' website.
and I ran the command : python fs_shapeDNA.py --sdir *** --sid * --surf surf/lh.thickness --outdir out/.

however ,it reported errors:
error

I am looking forward to hearing form you !
Thank you for your kind help!

Sincerely,

We just fixed the TypeError, so your error message will look more meaningful. Probably you did not install shapeDNA-tria (download from our Website, see README) and did not set the SHAPEDNA_HOME environment variable to that location?
Also you cannot call it on a thickness file, you need to pass a surface after --surf (e.g. surf/lh.pial ).

0125e87 fixes TypeError