that switching sounds good for real (known) structures.

Q: How are you accessing chem spider? Is the idea there that you have a
registration key used only by your server?


On Tue, Jan 21, 2014 at 10:38 AM, Otis Rothenberger
<osrot...@chemagic.com>wrote:

> Bob and Pino
>
>
> Possibly. At least for known compounds. Does this fail gracefully?
>
>
> NIST fails gracefully because they return a data not found graphic image.
> I've never encountered a NIST server down issue, so I'm not sure what
> happens there.
>
> The biggest problem with SMILES to InChI is server down with response
> dependent on serve request timeout - i.e. dead air. That's where the page
> locking gets to be a problem.
>
> I'm trying to set things up so that an InChI server down at Resolver
> automatically switches over to ChemSpider. I have that under control client
> side, but not server side. On the client side, I do a very quick AJAX touch
> on Resolver after page loading. If Resolver does not respond in 5 seconds,
> I switch to ChemSpider. I played around with some time intervals, and 5
> seconds seems OK. I've had some good opportunities to test this recently!
>
> x = script("show chemical cas")  // but produces a list
>
>
> I get a list also in some situations. The trick is to sort them and use
> the lowest numerical value. For simple compounds, the NIST hit rate is
> pretty good.
>
> All in all, the approach works fairly well even though it is a limited
> database. Of course, our interest is fairly simple molecules.
>
> Otis
>
> --
> Otis Rothenberger
> o...@chemagic.com
> http://chemagic.com
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to