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  

|
June 25, 2004 04:05PM
Not really, but the effects may not be all that you desire. In particular, attributes are not inherited by "children" of a dataset -- e.g., if you use 3dcalc on a dataset with a custom attribute, the output of 3dcalc won't have that attribute.

AFNI programs read the attributes first and store them in a list. Then the attributes AFNI knows about are scanned for information about the dataset (dimensions, etc.). If the required minimum attributes are found, then a dataset struct is created -- otherwise, the .HEAD file is rejected as unworthy. The order the attributes appear in is unimportant for this process.

See README.attributes for more info. You can attach arbitrary attributes to the header, as long as they are well-formed syntactically.

If you have some information you want inherited, you could attach it to a dataset in the form of a Note (e.g., 3dNotes). Notes are (usually) inherited by children, since most 3d* programs copy the Notes of the input file to the output file. If inheritance doesn't matter, then attribute away!

bob cox
Subject Author Posted

adding attribute to afni header

Anthony Lissot June 25, 2004 03:28PM

Re: adding attribute to afni header

Robert Cox June 25, 2004 04:05PM

Re: adding attribute to afni header

Anthony Lissot July 08, 2004 04:47PM