From: Dr N. O'B. <no...@ca...> - 2006-05-08 23:56:10
|
>> I think OB is misbehaving, then. mymol.GetData("NSC") returns None >> (the >> Python object) and mymol.HasData("NSC") returns False. > >I thought I had e-mailed you, but evidently not. Could you submit a >bug report with a test file? Let's make sure this is fixed ASAP. Hmmmm....you see, the strange thing is that it works fine now (egg on face). I don't have a copy of my original test code so I guess I probably had a typo either with the field name or was opening a file without the field. In any case, sorry for 'bugging' you about this. Having this working, means that I can continue with my tutorial on using open source tools to manipulate SD files. Noel P.S.GetDataType() is the method name for getting the value out of the OBGenericData that's returned. Wouldn't GetValue() be more appropriate? |