[Gmod-help] Re: [Gmod-gbrowse] report a possible bug
Zhiliang Hu
hu at animalgenome.org
Thu Jul 23 22:09:11 EDT 2009
Dave,
Thank you for the reply. Didn't realize it was registered.
To make the life easier, the config parser could be made such that
it may allow "escaped" '#' to be *normal* character, and non-escaped
'#' to lead comments. Hope that's too much trouble for developers.
Best,
Zhiliang
On Thu, 23 Jul 2009, Dave Clements, GMOD Help Desk wrote:
> Date: Thu, 23 Jul 2009 11:25:59 -0700
> From: "Dave Clements, GMOD Help Desk" <gmodhelp at googlemail.com>
> Reply-To: help at gmod.org
> To: Zhiliang Hu <hu at animalgenome.org>
> Cc: gmod-gbrowse at lists.sourceforge.net
> Subject: Re: [Gmod-gbrowse] report a possible bug
>
> Hi Zhiliang,
> Unfortunately putting '#' in the GBrowse conf file will usually cause
> GBrowse to treat the rest of the line as a comment. A bug report exists for
> this when it happens in callbacks (see
> http://sourceforge.net/tracker/?func=detail&aid=2585223&group_id=27707&atid=391291
> )
> In the example of HTML Character entities, you can get around the problem by
> using the mnemonic instead of the decimal value. I use
> http://www.alanwood.net/demos/ent4_frame.html to look these up. In cases
> where that workaround doesn't work (e.g., colors), you can put in a
> callback, and generate the # that way:
> fgcolor = sub {
> return chr(35) . "ABCDEF";
> }
>
> Hope this helps,
> Dave C.
>
> On Thu, Jul 23, 2009 at 8:49 AM, Zhiliang Hu <hu at animalgenome.org> wrote:
>
>> I am testing GBrowse 1.70 on RedHat GNU/Linux 2.6.18, and found that any
>> "#" symbol in the customized "header" line in the config file would break
>> the html tags and "leak" the previous html setting into the whole page
>> ("#" as in '—' or '#' in style color code).
>>
>> This is repeatable (Not sure how useful this is as version 2.0 is on the
>> way).
>>
>> Zhiliang
More information about the Gmod-help
mailing list