[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ccp4bb]: Double disk crash in Uppsala
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
For those of you seeking to emulate Gerard's latest email capitalization
methods, you might want to consider using PyMOL. It is a free and
open-source molecular graphics system, which now also supports email
de-capitalization. Compare PyMOL output with the genuine article at the
end of the message. I think you'll be impressed.
# BEGIN PyMOL Script "gerard.pym"
#
# Under Windows, save as "gerard.pym", then
# double-click to run.
# Under Unix run "pymol gerard.pym"
#
input = '''
Please consider, Gerard "DVD" Kleywegt,
how much easier it would be to use PyMOL
to remove those annoying little capitals
from your emails. While it might be possible
to use O macros for the same task, most
Xtallographers would prefer a free and
open-source solution. Manual removal of
capital letters should only be considered
as a last resort.
You can find PyMOL on the WWW, http://www.pymol.org.
Cheers,
Warren L. DeLano
'''
# standard, resuable footer
input= input + '''
PS: for the capitalisation fundamentalists, here are the missing
capitals for this mail - please add them where appropriate:
'''
from string import lower,join
caps = []
output = []
for a in input:
if lower(a)!=a: caps.append(a)
output.append(lower(a))
print join(output+caps,'')
#
# END "gerard.pym"
#####################
### SAMPLE OUTPUT ###
#####################
please consider, gerard "dvd" kleywegt,
how much easier it would be to use pymol
to remove those annoying little capitals
from your emails. while it might be possible
to use o macros for the same task, most
xtallographers would prefer a free and
open-source solution. manual removal of
capital letters should only be considered
as a last resort.
you can find pymol on the www, http://www.pymol.org.
cheers,
warren l. delano
ps: for the capitalisation fundamentalists, here are the missing
capitals for this mail - please add them where appropriate:
PGDVDKPMOLWOXMYPMOLWWWCWLDLPS
PyMOL>
#########################################
### Compare with Gerard's email below ###
#########################################
> From: Gerard "DVD" Kleywegt [mailto:gerard@xray.bmc.uu.se]
> g'day folks,
>
> as you may or may not have noticed, we had some interruption
> of various
> services recently due to a disk crash that wiped out most of
> the local www
> pages. the usf and hic-up sites have been restored and should
> be in the same
> shape as the night before the crash - but if you encounter
> missing links,
> please let me know (only for the usf and hic-up pages, please).
>
> also, while trying to salvage as much as possible of the disk
> that holds most
> www pages, the disk holding the mail INBOX files crashed.
> this means that any
> mail sent to users located at xray.bmc.uu.se (or alpha2.bmc.uu.se or
> pdb.bmc.uu.se) between the end of last week and monday
> afternoon may well have
> been irretrievably lost. so if you sent anything important,
> you may want to
> verify with the intended recipient if it was actually received.
>
> --dvd
>
> ps: for the capitalisation fundamentalists, here are the missing
> capitals for this mail - please add them where appropriate:
> GAWWWTUSFHICUUSFHICUAWWWTMSDVDPSPPSFSFOURII
>
> pps: several people had sent me code and notes for reading
> fsfour maps;
> since i hadn't done anything with these yet, they were still
> living in my INBOX and have hence been eradicated. i would be
> grateful if those who sent these mails could re-send them
>
>