height has been deprecated.

but, it works!

thanks, paul!!!


paul



From:   Paul Emsley <pems...@mrc-lmb.cam.ac.uk>
To:     rdkit-discuss@lists.sourceforge.net, 
Date:   25.09.2014 19:32
Subject:        Re: [Rdkit-discuss] PandasTools on Windows iPython 
notebook



On 25/09/14 18:06, paul.czodrow...@merckgroup.com wrote:
Dear RDKitter, 

on my new Windows laptop, I run into this issue: 
" 
import pandas as pd 
import rdkit.Chem as Chem 
from rdkit.Chem import PandasTools 
" 
=> 
" 
ValueError                                Traceback (most recent call 
last)
<ipython-input-6-52de9e808c94> in <module>()
     1 import pandas as pd
     2 import rdkit.Chem as Chem
----> 3 from rdkit.Chem import PandasTools
     4 #import os
     5 #from rdkit import RDConfig

C:\RDKit_2013_06_1\rdkit\Chem\PandasTools.py in <module>()
    87   import pandas as pd
    88   if 'display.width' in  pd.core.config._registered_options:
---> 89     pd.set_option('display.width',100000000000)
    90   if 'display.height' in  pd.core.config._registered_options:
    91     pd.set_option('display.height',100000000000)

C:\Users\m163729\AppData\Local\Continuum\Anaconda\lib\site-packages\pandas\core\config.py
 
in __call__(self, *args, **kwds)
   215 
   216     def __call__(self, *args, **kwds):
--> 217         return self.__func__(*args, **kwds)
   218 
   219     @property

C:\Users\m163729\AppData\Local\Continuum\Anaconda\lib\site-packages\pandas\core\config.py
 
in _set_option(*args, **kwargs)
   116         o = _get_registered_option(key)
   117         if o and o.validator:
--> 118             o.validator(v)
   119 
   120         # walk the nested dict

C:\Users\m163729\AppData\Local\Continuum\Anaconda\lib\site-packages\pandas\core\config.py
 
in inner(x)
   780     def inner(x):
   781         if not isinstance(x, _type):
--> 782             raise ValueError("Value must be an instance of %s" % 
type_repr)
   783 
   784     return inner

ValueError: Value must be an instance of <type 'NoneType'>|<type 'int'> 
" 

Is this familiar to anyone? 

Here's a guess: 

Try changing 100000000000 to 2000000000 (2 billion) in PandaTools.py 

Paul.
 



------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss




This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, you 
must not copy this message or attachment or disclose the contents to any other 
person. If you have received this transmission in error, please notify the 
sender immediately and delete the message and any attachment from your system. 
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept 
liability for any omissions or errors in this message which may arise as a 
result of E-Mail-transmission or for damages resulting from any unauthorized 
changes of the content of this message and any attachment thereto. Merck KGaA, 
Darmstadt, Germany and any of its subsidiaries do not guarantee that this 
message is free of viruses and does not accept liability for any damages caused 
by any virus transmitted therewith.

Click http://www.merckgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to