at 11.42a EDT on 2003 December 16 Tuesday Jan Reichert said:

> timothy driscoll wrote:
> 
> >at 10.40a EDT on 2003 December 16 Tuesday Jan Reichert said:
> >  
> >
> >>sub convertSlangStrict {
> >> my $text= shift;
> >> $text=~ s/(\d+)([a-z])(?!\])\b/$1:$2/ig;
> >> return $text;
> >>}
> >>
> >>and if it is an old script, that is no
> >>#!rasmol -version 2.7.2.2
> >>header (this use of version parameter has to be implemented in RasMol).
> >>Regards, Jan
> >>
> >>
> >>    
> >>
> >this ignores Chime scripts, and hand-coded scripts, that do not use a
> >shebang and are around in great numbers.
> >  
> >
> that is the point, it will identify old scripts as subject to 
> convertSlangStrict in chime2jmol.pl
> Regards, Jan
> 

ah; I understand what you're saying now.

I have yet to see a convincing argument for this approach, though.
essentially we would be converting a huge number of existing scripts to fit
in a format that we know is already in widespread use for chain selection.
why not use the carat for insertion codes, and escape it for regex searches?

I understand how it can be done, but please explain why it is necessary.  I
promise I will shut up, even if we have to agree to disagree... :-)

supporting a symbol (^) for icodes seems easier than dealing with an external
conversion routine.  for example, one has to assume that the routine won't
work in all cases, especially in early stage of implementation, and someone
will have to deal with those issues.


regards,

:tim

-- 
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to