Re: [Jmol-users] check R/S chirality with Jmol

2017-04-07 Thread Robert Hanson
OK, I see. I used a Java Math function that I did not implement in
JavaScript. Easy fix...

On Fri, Apr 7, 2017 at 10:31 AM, Robert Hanson  wrote:

> Hmm. I do know where that is coming from. Admittedly I had not tried it in
> JavaScript! Will do. Working  in Jmol.jar, right?
>
>
>
> On Fri, Apr 7, 2017 at 3:39 AM, Pierluigi Quagliotto <
> pierluigi.quaglio...@unito.it> wrote:
>
>> Dear Bob,
>>
>> there is something working wrong with JSMol 14.12.0 working on my
>> developing site...
>>
>> I obtain an error in the console when trying to execute some commands.
>>
>> here below the message is always the same and appears when the first call
>> to the novel function is tried.
>>
>>
>>
>>
>>
>> *Jmol now allows checking of R/S chirality. For example: *
>> load $(R)-glycidol
>> print {C1}.chirality
>>
>> script ERROR: TypeError: The object does not support the property or the
>> method 'printStackTrace'
>>
>>
>> *R*
>>
>> load $cholesterol
>> select on chirality != ""
>>
>> script ERROR: TypeError: The object does not support the property or the
>> method 'printStackTrace'
>>
>> label %[chirality]
>>
>> *8 atoms selected*
>>
>>
>>
>> I simply transferred the jsmol dir on the server, as usual and gave
>> proper 755 permission and apache.apache ownership. JSMol seems to work fine
>> but ht euse of the new function gave this error.
>>
>> Bye,
>>
>> Pierluigi Quagliotto
>>
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> 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
>
>


-- 
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
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] check R/S chirality with Jmol

2017-04-07 Thread Robert Hanson
Hmm. I do know where that is coming from. Admittedly I had not tried it in
JavaScript! Will do. Working  in Jmol.jar, right?



On Fri, Apr 7, 2017 at 3:39 AM, Pierluigi Quagliotto <
pierluigi.quaglio...@unito.it> wrote:

> Dear Bob,
>
> there is something working wrong with JSMol 14.12.0 working on my
> developing site...
>
> I obtain an error in the console when trying to execute some commands.
>
> here below the message is always the same and appears when the first call
> to the novel function is tried.
>
>
>
>
>
> *Jmol now allows checking of R/S chirality. For example: *
> load $(R)-glycidol
> print {C1}.chirality
>
> script ERROR: TypeError: The object does not support the property or the
> method 'printStackTrace'
>
>
> *R*
>
> load $cholesterol
> select on chirality != ""
>
> script ERROR: TypeError: The object does not support the property or the
> method 'printStackTrace'
>
> label %[chirality]
>
> *8 atoms selected*
>
>
>
> I simply transferred the jsmol dir on the server, as usual and gave proper
> 755 permission and apache.apache ownership. JSMol seems to work fine but ht
> euse of the new function gave this error.
>
> Bye,
>
> Pierluigi Quagliotto
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] check R/S chirality with Jmol

2017-04-07 Thread Pierluigi Quagliotto

Dear Bob,

there is something working wrong with JSMol 14.12.0 working on my 
developing site...


I obtain an error in the console when trying to execute some commands.

here below the message is always the same and appears when the first 
call to the novel function is tried.


*

*

*Jmol now allows checking of R/S chirality. For example:

*
load $(R)-glycidol
print {C1}.chirality
script ERROR: TypeError: The object does not support the property or the 
method 'printStackTrace'




/R/

load $cholesterol
select on chirality != ""
script ERROR: TypeError: The object does not support the property or the 
method 'printStackTrace'



label %[chirality]

/8 atoms selected/




I simply transferred the jsmol dir on the server, as usual and gave 
proper 755 permission and apache.apache ownership. JSMol seems to work 
fine but ht euse of the new function gave this error.


Bye,

Pierluigi Quagliotto


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users