Thread View: bionet.software.acedb
1 messages
1 total messages
Started by Nicolas Thierry-Mieg
Thu, 16 Feb 2006 16:55
acediff bug
Author: Nicolas Thierry-Mieg
Date: Thu, 16 Feb 2006 16:55
Date: Thu, 16 Feb 2006 16:55
61 lines
3515 bytes
3515 bytes
hi all,
I've run into what looks like a bug in acediff.
This happens with all versions I've tested, ie today's daily build and
the current supported build, both with dynamically linked binaries. I've
also tested the current supported static build, same result.
All of this, on linux (FC4, kernel 2.6.14-1.1656_FC4 on a pentium4 system)
Here is a tiny example to illustrate the problem:
$ more wspec/models.wrm
?Interaction Bait UNIQUE ?Text
Prey UNIQUE ?Text
fns
$ more test1.ace
Interaction : "test1"
Bait "bait1"
Prey "prey1"
$ more test2.ace
Interaction : "test1"
Bait "bait1"
Prey "prey1"
fns
$ ace.supported/acediff test1.ace test2.ace
reading file 1 - 4 lines read - sorting file 1
reading file 2 - 6 lines read - sorting file 2
performing diff - sorting diff
// acediff difference from test1.ace to test2.ace
Interaction "test1"
Prey "prey1"
fns
-D Prey "prey1"
// end of file
As you can see, acediff adds the Prey, then deletes it. After parsing
the acediff output, I've obviously lost my Prey info.
Funny thing is, if you replace "fns" with "Fns" it's OK...
But if you use a different tag you get strange behaviours.
eg, using "a_A", acediff also kills the Bait!
As far as I can tell (but I haven't tested it much), it works OK when
the tag starts with an uppercase letter.
Is something wrong with my files or ace binaries??
A+
nicolas
--
------------------------------------------------------------
Nicolas Thierry-Mieg
Laboratoire LSR-IMAG, BP 53, 38041 Grenoble Cedex 9, France
tel : (33/0)4-76-63-55-79, fax : (33/0)4-76-63-55-50
------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads