Thanks for the tip-off! That does make sense. Is this documented anywhere,
as if so I didn't find it? Although no doubt I would have found out
eventually by experience.
Cheers,
David
On 15 May 2012 05:29, "Luc Bourhis"
Hi David,
Tuple as a common type for all sequence-type objects makes sense in Python
Only for those sequences whose size is fixed at compile-time, i.e. af::tiny, af::small and any type derived from them, which at the moment is limited to scitbx::vec3 and scitbx::vec2 from the top of my head. If you return an array with a dynamic size, i.e. af::shared or af::versa, then it will be converted to scitbx.array_family.shared and scitbx.array_family.flex respectively.
HtH,
Luc
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb