🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.acedb
Article #53

acediff bug

#53
From: Nicolas Thierry-Mieg
Date: Thu, 16 Feb 2006 16:55
61 lines
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
------------------------------------------------------------
Technical Details
Message-ID: <mailman.1139.1140164606.29584.acedb@net.bio.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!news.indiana.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f6d40,e65635cc578ec0ca,start
X-Google-Attributes: gidf6d40,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!news.indiana.edu!not-for-mail
From: Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg@imag.fr>
Newsgroups: bionet.software.acedb
Subject: acediff bug
Date: Thu, 16 Feb 2006 17:55:49 +0100
Organization: BIOSCI/IUBio, Biology Dept., Indiana University
Lines: 62
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
Message-ID: <mailman.1139.1140164606.29584.acedb@net.bio.net>
NNTP-Posting-Host: oat.bio.indiana.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: rainier.uits.indiana.edu 1140164642 5524 129.79.225.149 (17 Feb 2006 08:24:02 GMT)
X-Complaints-To: news-admin@indiana.edu
NNTP-Posting-Date: Fri, 17 Feb 2006 08:24:02 +0000 (UTC)
To: acedb@magpie.bio.indiana.edu
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
 rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2
X-Accept-Language: en-us, en
X-Greylist: Sender succeeded STARTTLS authentication, not delayed by
 milter-greylist-1.6 (imag.imag.fr [129.88.30.1]);
 Thu, 16 Feb 2006 17:55:49 +0100 (CET)
X-IMAG-MailScanner: Found to be clean
X-IMAG-MailScanner-Information: Please contact the ISP for more information
X-Mailman-Approved-At: Fri, 17 Feb 2006 03:22:48 -0500
X-BeenThere: acedb@net.bio.net
X-Mailman-Version: 2.1.4
Precedence: list
X-Auth: PGPMoose V1.1 PGP bionet.software.acedb
 iQCVAwUBQ/WH/qCIqsWvyF5FAQFd/gP9GtkTd1Ch4gZoWeEv56sfQBqigM7F0ylY
 NDzqkHxHrM9ShIrkB6Q/mEmMgi/vA5faPfTAGJFnj3TzRWIB0WmTb+sh7ODWklQ5
 3A1tEhlC0mAYKZc5BvgtHsxdzrHMmzDVb+Y8/5svz7dyaOlBya8PUYAdxEcuf6jg
 W7vyl7D5nXs= =fi06