AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
July 05, 2022 01:20PM
Hi, Philipp-

Well, it's not a bug, it's a max buffer length defined in the code. It determines the maximum number of columns a *.1D file can have and still be read in.

This means that you have a *single line* with over 5M values---I guess each of your datasets is a time series of considerable length. Can I ask what you are aiming to do with this gargantuan line? Is there a way to compress it earlier in your calcs? For example, you could use a for-loop and 1dcat/1dtranspose them separately.

Also, I don't think this would be affected by the number of voxels in your ROI mask---this is really about the number of columns you are attempting to put into the file (not rows---that can be larger than this buffer max). Or is the 1dcat command that is producing the error, not 3dmaskdump?

--pt
Subject Author Posted

**Error: Line too long for buffer of 5048576 chars.** (3dmaskdump)

Philipp July 05, 2022 06:32AM

Re: **Error: Line too long for buffer of 5048576 chars.** (3dmaskdump)

ptaylor July 05, 2022 01:20PM

Re: **Error: Line too long for buffer of 5048576 chars.** (3dmaskdump)

Philipp July 06, 2022 03:47AM

Re: **Error: Line too long for buffer of 5048576 chars.** (3dmaskdump)

rick reynolds July 07, 2022 12:07AM

Re: **Error: Line too long for buffer of 5048576 chars.** (3dmaskdump)

Philipp July 07, 2022 05:43AM