Minor history.ana bug

Questions about Anatomist manipulation

Moderators: denghien, riviere

Post Reply
guillaume_dugas
Posts: 7
Joined: Tue Mar 08, 2005 3:24 pm

Minor history.ana bug

Post by guillaume_dugas »

When updating the fusion control when fusing two image, the system writes an action in the ~/.anatomist/history.ana file. However, the way of fusing the two (linear, linear on non-null values and geometric) is always written as geometric !

What is the command in an ana script to set the mode as linear on non-null values ?

Thanks
guillaume_dugas
Posts: 7
Joined: Tue Mar 08, 2005 3:24 pm

Found

Post by guillaume_dugas »

I just found the answer on the doc (again, i'm a doc-reading slacker)
http://brainvisa.info/doc/html/anatomis ... mands.html

Fusion2DParams

Règle les paramètres d'une fusion 2D
object int
mode string (optionnel) linear, geometric ou linear_on_defined
...

So... all this is just to point a very minor bug, sorry
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Post by riviere »

Hi Guillaume,

You are right, there was a bug here in anatomist. I have just fixed it in our sources, but anyway the next (development) version works in a different way and doesn't suffer the same problem.

Denis
guillaume_dugas
Posts: 7
Joined: Tue Mar 08, 2005 3:24 pm

Woa...

Post by guillaume_dugas »

I'm currently writing python scripts that write on the fly .ana scripts, to visualize my images and possible multiple segmentations with anatomist. Will the script language be updated ?

Thanks
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Post by riviere »

Yes.
But up to now I have always managed to update it in a backward-compatible way (adding commands and options, but never removing anything).
Denis
Post Reply