muschellij2 / gifti

GIFTI package for R
4 stars 4 forks source link

Loading CAT12 resampled & smoothed surfaces #2

Open MartinGell opened 4 years ago

MartinGell commented 4 years ago

Good afternoon,

My apologies if this doesn't belong here, but I am unsure where else to post this.

I am trying to open a gifti cortical thickness file from CAT12 analysis pipeline that have been resampled and smoothed (step after segmentation resulting in one file for both hemispheres) using the readgii command and I am getting the below error:

Error in doc_parse_file(con, encoding = encoding, as_html = as_html, options = options) : Extra content at the end of the document [5] In addition: Warning message: In doc_parse_file(con, encoding = encoding, as_html = as_html, options = options) : xmlSAX2Characters: huge text nod [2]

In CAT12 naming convention this file is called: S15.mesh.thickness.resampled.(name).gii

I believe the file is not corrupted, as I have no problem loading it into Matlab using the gifti toolbox.

Any pointers to what could be going wrong will be highly appreciated,

Thank you!

muschellij2 commented 4 years ago

I don’t really Actively maintain this package. Can you send me the file? I couldn’t find a full specification that really fit my needs and the time to do this. Hopefully I’ll be able to look at it in the next few weeks.

On Fri, Feb 7, 2020 at 8:49 AM MartinGell notifications@github.com wrote:

Good afternoon,

My apologies if this doesn't belong here, but I am unsure where else to post this.

I am trying to open a gifti cortical thickness file from CAT12 analysis pipeline that have been resampled and smoothed (step after segmentation resulting in one file for both hemispheres) using the readgii command and I am getting the below error:

Error in doc_parse_file(con, encoding = encoding, as_html = as_html, options = options) : Extra content at the end of the document [5] In addition: Warning message: In doc_parse_file(con, encoding = encoding, as_html = as_html, options = options) : xmlSAX2Characters: huge text nod [2]

In CAT12 naming convention this file is called: S15.mesh.thickness.resampled.(name).gii

I believe the file is not corrupted, as I have no problem loading it into Matlab using the gifti toolbox.

Any pointers to what could be going wrong will be highly appreciated,

Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/muschellij2/gifti/issues/2?email_source=notifications&email_token=AAIGPLR2LGC2UCP3QSC3DHTRBVRFXA5CNFSM4KROZE72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IL2CMCA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGPLRXATWO3IQHQM4U4ELRBVRFXANCNFSM4KROZE7Q .

-- Best, John

MartinGell commented 4 years ago

Hi,

Thank you for offering to look at this! I just invited you to a repo with the file in it.

Martin

muschellij2 commented 4 years ago

I think this file is corrupted, trying fsleyes:

Screen Shot 2020-02-07 at 10 07 15 AM Screen Shot 2020-02-07 at 10 06 06 AM
muschellij2 commented 4 years ago
Screen Shot 2020-02-07 at 10 08 51 AM
MartinGell commented 4 years ago

Strange... Screenshot from 2020-02-07 16-19-14

MartinGell commented 4 years ago

Maybe there is something wrong with the file in the end. Thank you!