[cctbxbb] Deprecation warning?

Graeme.Winter at diamond.ac.uk Graeme.Winter at diamond.ac.uk
Thu Aug 9 01:55:59 PDT 2012


Thanks Nat, that squashed it!

Best wishes,

Graeme


On 8 Aug 2012, at 19:14, Nathaniel Echols wrote:

> On Wed, Aug 8, 2012 at 3:52 AM,  <Graeme.Winter at diamond.ac.uk> wrote:
>> Interestingly I added this
>> 
>> import warnings
>> warnings.filterwarnings("ignore", category=DeprecationWarning)
>> 
>> and it did not make the warnings go away… even though I tried both where I import matplotlib and also in the top of the main() routine.
>> 
>> That seems odd to me - any ideas?
> 
> I guess my assumption about the inheritance of wxPyDeprecationWarning
> was incorrect - at any rate, this seems to work:
> 
> warnings.filterwarnings("ignore", category=wx.wxPyDeprecationWarning)
> 
> -Nat
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb


-- 
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.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
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.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





More information about the cctbxbb mailing list