<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.im
        {mso-style-name:im;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks Nick<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The bug now seems to be fixed and the calcite structure displays correctly via the link:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><a href="http://cds.dl.ac.uk/cgi-bin/rfm/crystalworks_365?Feb17">http://cds.dl.ac.uk/cgi-bin/rfm/crystalworks_365?Feb17</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Bob<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Nicholas Sauter [mailto:nksauter@lbl.gov]
<br>
<b>Sent:</b> 18 February 2016 20:01<br>
<b>To:</b> McMeeking, Robert (STFC,DL,SC)<br>
<b>Cc:</b> Paul Adams; Gildea, Richard (DLSLtd,RAL,LSCI); cctbx mailing list; phenixdev<br>
<b>Subject:</b> Re: [cctbxbb] Problems with cctbx - Explore symmetry<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">OK, I've made a tiny change that will both safeguard our web security and permit the quotation marks to be interpreted correctly. &nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">We'll need to follow whatever feedback the LBNL security team sends us, after they scan our site again.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Nick<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Nicholas K. Sauter, Ph. D.<br>
Computer Staff Scientist,&nbsp;Molecular Biophysics and Integrated Bioimaging Division<o:p></o:p></p>
<div>
<p class="MsoNormal">Lawrence Berkeley National Laboratory<br>
1 Cyclotron Rd., Bldg. 33R0345<br>
Berkeley, CA 94720<br>
(510) 486-5713<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Wed, Feb 17, 2016 at 11:19 PM, &lt;<a href="mailto:robert.mcmeeking@stfc.ac.uk" target="_blank">robert.mcmeeking@stfc.ac.uk</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal">Is there a further possible complication with non-ascii (?) angled open and close quote symbols?<br>
<br>
Bob<br>
<br>
<br>
<span class="im">-----Original Message-----</span><br>
<span class="im">From: Paul Adams [mailto:<a href="mailto:pdadams@lbl.gov">pdadams@lbl.gov</a>]</span><br>
<span class="im">Sent: 18 February 2016 07:09</span><br>
<span class="im">To: McMeeking, Robert (STFC,DL,SC)</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Cc: Nicholas Sauter; Gildea, Richard (DLSLtd,RAL,LSCI);
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a>; <a href="mailto:developers@phenix-online.org">
developers@phenix-online.org</a><br>
Subject: Re: [cctbxbb] Problems with cctbx - Explore symmetry<br>
<br>
<br>
I think that the non-alpha numerics are: - * ‘ “<br>
<br>
Some might not be used for the standard settings, but they should be allowed.<br>
<br>
&gt; On Feb 17, 2016, at 10:50 PM, <a href="mailto:robert.mcmeeking@stfc.ac.uk">robert.mcmeeking@stfc.ac.uk</a> wrote:<br>
&gt;<br>
&gt; Nick<br>
&gt;<br>
&gt; The link: <a href="http://cci.lbl.gov/sginfo/hall_symbols.html" target="_blank">
http://cci.lbl.gov/sginfo/hall_symbols.html</a><br>
&gt;<br>
&gt; gives a list of some possible Hall symbols. Other valid symbols are, I presume, possible. But on a quick glance, the single quote does not seem to feature – others may know more about what symbols are valid.<br>
&gt;<br>
&gt; Regards<br>
&gt;<br>
&gt; Bob McM<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From: Nicholas Sauter [mailto:<a href="mailto:nksauter@lbl.gov">nksauter@lbl.gov</a>]<br>
&gt; Sent: 17 February 2016 23:23<br>
&gt; To: Gildea, Richard (DLSLtd,RAL,LSCI)<br>
&gt; Cc: cctbx mailing list; McMeeking, Robert (STFC,DL,SC); phenixdev<br>
&gt; Subject: Re: [cctbxbb] Problems with cctbx - Explore symmetry<br>
&gt;<br>
&gt; Richard,<br>
&gt;<br>
&gt; We filtered double quotes (&quot;) out of the web input for computer-security purposes.&nbsp; Could you perhaps let me know what special characters we need to allow?&nbsp; Specifically do I need to allow both single (') and double quotes, or just double?<br>
&gt;<br>
&gt; Nick<br>
&gt;<br>
&gt; Nicholas K. Sauter, Ph. D.<br>
&gt; Computer Staff Scientist, Molecular Biophysics and Integrated<br>
&gt; Bioimaging Division Lawrence Berkeley National Laboratory<br>
&gt; 1 Cyclotron Rd., Bldg. 33R0345<br>
&gt; Berkeley, CA 94720<br>
&gt; <a href="tel:%28510%29%20486-5713">(510) 486-5713</a><br>
&gt;<br>
&gt; On Wed, Feb 17, 2016 at 2:36 PM, &lt;<a href="mailto:richard.gildea@diamond.ac.uk">richard.gildea@diamond.ac.uk</a>&gt; wrote:<br>
&gt; Hi Paul,<br>
&gt;<br>
&gt; I think this recent commit from Nick (23rd Jan 2016) is the culprit:<br>
&gt;<br>
&gt; <a href="https://sourceforge.net/p/cctbx/code/23627/" target="_blank">https://sourceforge.net/p/cctbx/code/23627/</a><br>
&gt;<br>
&gt; This code snippet demonstrates the issue:<br>
&gt;<br>
&gt; $ cctbx.python<br>
&gt; Python 2.7.10 (default, Aug 28 2015, 12:10:46) [GCC 4.8.2 20140120<br>
&gt; (Red Hat 4.8.2-15)] on linux2 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or<br>
&gt; &quot;license&quot; for more information.<br>
&gt; &gt;&gt;&gt; sgsymbol = '-R 3 2&quot;c'<br>
&gt; &gt;&gt;&gt; lines_old = sgsymbol.replace(&quot;\015&quot;, &quot;\012&quot;).split(&quot;\012&quot;) print<br>
&gt; &gt;&gt;&gt; lines_old<br>
&gt; ['-R 3 2&quot;c']<br>
&gt; &gt;&gt;&gt; import cgi<br>
&gt; &gt;&gt;&gt; lines_new = cgi.escape(sgsymbol,True).replace(&quot;\015&quot;,<br>
&gt; &gt;&gt;&gt; &quot;\012&quot;).split(&quot;\012&quot;) print lines_new<br>
&gt; ['-R 3 2&amp;quot;c']<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Richard<br>
&gt;<br>
&gt; Dr Richard Gildea<br>
&gt; Data Analysis Scientist<br>
&gt; Tel: &#43;441235 77 8078<br>
&gt;<br>
&gt; Diamond Light Source Ltd.<br>
&gt; Diamond House<br>
&gt; Harwell Science &amp; Innovation Campus<br>
&gt; Didcot<br>
&gt; Oxfordshire<br>
&gt; OX11 0DE<br>
&gt;<br>
&gt; ________________________________________<br>
&gt; From: <a href="mailto:cctbxbb-bounces@phenix-online.org">cctbxbb-bounces@phenix-online.org</a><br>
&gt; [<a href="mailto:cctbxbb-bounces@phenix-online.org">cctbxbb-bounces@phenix-online.org</a>] on behalf of Paul Adams<br>
&gt; [<a href="mailto:pdadams@lbl.gov">pdadams@lbl.gov</a>]<br>
&gt; Sent: 17 February 2016 21:50<br>
&gt; To: McMeeking, Robert (STFC,DL,SC)<br>
&gt; Cc: phenixdev; cctbx mailing list<br>
&gt; Subject: Re: [cctbxbb] Problems with cctbx - Explore symmetry<br>
&gt;<br>
&gt; Hi Bob,<br>
&gt;<br>
&gt;&nbsp; &nbsp;thanks for the email. I can reproduce this problem. Is anyone aware of any changes that have been made in the space group handling in the last year or two? This is code that doesn’t change much, if at all.<br>
&gt;<br>
&gt;&nbsp; &nbsp;Cheers,<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Paul<br>
&gt;<br>
&gt; &gt; On Feb 17, 2016, at 4:24 AM, <a href="mailto:robert.mcmeeking@stfc.ac.uk">robert.mcmeeking@stfc.ac.uk</a> wrote:<br>
&gt; &gt;<br>
&gt; &gt; Dear Colleagues<br>
&gt; &gt;<br>
&gt; &gt; I may not have sent my previous message to the most appropriate email address. I now forward including the “<a href="http://phenix-online.org" target="_blank">phenix-online.org</a>” one. Is there anyone out there who can point me in the right direction?<br>
&gt; &gt;<br>
&gt; &gt; Best Regards<br>
&gt; &gt;<br>
&gt; &gt; Bob<br>
&gt; &gt;<br>
&gt; &gt; From: McMeeking, Robert (STFC,DL,SC)<br>
&gt; &gt; Sent: 13 February 2016 12:18<br>
&gt; &gt; To: <a href="mailto:cctbx@cci.lbl.gov">cctbx@cci.lbl.gov</a><br>
&gt; &gt; Cc: McMeeking, Robert (STFC,DL,SC)<br>
&gt; &gt; Subject: Problems with cctbx - Explore symmetry<br>
&gt; &gt;<br>
&gt; &gt; Hello from the UK<br>
&gt; &gt;<br>
&gt; &gt; I am currently experiencing problems with the Explore symmetry web service - <a href="http://cci.lbl.gov/cctbx/explore_symmetry.html" target="_blank">
http://cci.lbl.gov/cctbx/explore_symmetry.html</a>. When dealing with a particular Hall Symbol there is a cctbx runtime error (Malformed matrix symbol).<br>
&gt; &gt;<br>
&gt; &gt; The symbol in question is:&nbsp; -R 3 2&quot;c It represents a setting for<br>
&gt; &gt; Space Group R -3 c :H (167)<br>
&gt; &gt;<br>
&gt; &gt; I am practically certain this worked fine in the past. I suspect the problem may be related to parsing the double quote symbol. If I replace with a single quote it manages to run OK, but the output information is a non-standard setting for Space Group 165.<br>
&gt; &gt;<br>
&gt; &gt; By way of background:<br>
&gt; &gt;<br>
&gt; &gt; I call the web service from my own CGI script and extract the symmetry operators that I need to display the crystal structure in question. The Hall symbol used is from the Crystallographic Open Database CIF (COD 2100992). I noticed the problem very recently,
 but because I cache information it is not clear when the problem first appeared. I only need to go through this process when explicit symmetry operators are not present in the CIF in question. I have not, as yet, installed the cctbx system on our server.<br>
&gt; &gt;<br>
&gt; &gt; Inoticed the problem when using our CrystalWorks system to attempt<br>
&gt; &gt; to display entries from the Crystallography365 Project<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://cds.dl.ac.uk/cgi-bin/rfm/crystalworks_365?Feb17" target="_blank">
http://cds.dl.ac.uk/cgi-bin/rfm/crystalworks_365?Feb17</a><br>
&gt; &gt;<br>
&gt; &gt; Best Regards<br>
&gt; &gt;<br>
&gt; &gt; Bob<br>
&gt; &gt;<br>
&gt; &gt; Dr R.F. McMeeking<br>
&gt; &gt; Honorary Scientist<br>
&gt; &gt; STFC Chemical Database Service at Daresbury<br>
&gt;<br>
&gt; --<br>
&gt; Paul Adams<br>
&gt; Interim Division Director, Molecular Biophysics &amp; Integrated<br>
&gt; Bioimaging, Lawrence Berkeley Lab Division Deputy for Biosciences,<br>
&gt; Advanced Light Source, Lawrence Berkeley Lab Adjunct Professor,<br>
&gt; Department of Bioengineering, U.C. Berkeley Vice President for<br>
&gt; Technology, the Joint BioEnergy Institute Laboratory Research Manager,<br>
&gt; ENIGMA Science Focus Area<br>
&gt;<br>
&gt; Building 33, Room 347<br>
&gt; Building 80, Room 247<br>
&gt; Building 978, Room 4126<br>
&gt; Tel: <a href="tel:1-510-486-4225">1-510-486-4225</a>, Fax: <a href="tel:1-510-486-5909">
1-510-486-5909</a> <a href="http://cci.lbl.gov/paul" target="_blank">http://cci.lbl.gov/paul</a><br>
&gt;<br>
&gt; Lawrence Berkeley Laboratory<br>
&gt; 1 Cyclotron Road<br>
&gt; BLDG 33R0345<br>
&gt; Berkeley, CA 94720, USA.<br>
&gt;<br>
&gt; Executive Assistant: Louise Benvenue [ <a href="mailto:LBenvenue@lbl.gov">LBenvenue@lbl.gov</a> ][<br>
&gt; <a href="tel:1-510-495-2506">1-510-495-2506</a> ]<br>
&gt; --<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
&gt;<br>
&gt; --<br>
&gt; This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt
 by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>
&gt; Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<br>
&gt; Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>
&gt; Diamond Light Source Limited (company no. 4375679). Registered in<br>
&gt; England and Wales with its registered office at Diamond House, Harwell<br>
&gt; Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United<br>
&gt; Kingdom<br>
&gt;<br>
<br>
--<br>
Paul Adams<br>
Interim Division Director, Molecular Biophysics &amp; Integrated Bioimaging, Lawrence Berkeley Lab Division Deputy for Biosciences, Advanced Light Source, Lawrence Berkeley Lab Adjunct Professor, Department of Bioengineering, U.C. Berkeley Vice President for Technology,
 the Joint BioEnergy Institute Laboratory Research Manager, ENIGMA Science Focus Area<br>
<br>
Building 33, Room 347<br>
Building 80, Room 247<br>
Building 978, Room 4126<br>
Tel: 1-510-486-4225, Fax: 1-510-486-5909 <a href="http://cci.lbl.gov/paul" target="_blank">
http://cci.lbl.gov/paul</a><br>
<br>
Lawrence Berkeley Laboratory<br>
1 Cyclotron Road<br>
BLDG 33R0345<br>
Berkeley, CA 94720, USA.<br>
<br>
Executive Assistant: Louise Benvenue [ <a href="mailto:LBenvenue@lbl.gov">LBenvenue@lbl.gov</a> ]<a href="tel:%5B%201-510-495-2506">[ 1-510-495-2506</a> ]<br>
--<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>