Re: [Jmol-users] Quiz Answers: Shhh, tell no one

2016-07-20 Thread Mike Casey
Hi Jennifer, The code in the updated version of 'ChemInteractive' is listed below. It also includes a SMARTS search, and a search for the number of C atoms in the user-drawn structure. The code for dealing with the backslash characters in the SMILES strings was suggested by Otis in response to

Re: [Jmol-users] Quiz Answers: Shhh, tell no one

2016-07-20 Thread Mike Casey
Ouch, but sweet, thanks Otis. My site is for self-assessment, so encryption is not necessary, but useful to have in reserve for future projects. Mike Dr Mike Casey School of Chemistry UCD Dublin 01 716 2420 -- What

Re: [Jmol-users] Quiz Answers: Shhh, tell no one

2016-07-20 Thread Jennifer L. Muzyka
Thanks for this encryption code, Otis! All along I've been skeptical about issues comparing strings, especially since I would get them from JSME. Now I figured out how to get JSME to spit out SMILES with slashes for E/Z stereochem. And I see that comparing those strings is a big problem. Even

[Jmol-users] Quiz Answers: Shhh, tell no one

2016-07-20 Thread Otis Rothenberger
Mike and Jennifer, Previous chain getting too long (bounce long!), and none of us truncated - sorry! Re Quiz Answers, S, tell no one... This is a classic encryption technique that’s weak and easy for cryptographers to break. Your students will never figure it out! It makes use of the