[cctbxbb] Using cctbx::uctbx::unit_cell in c++ code / boosted to Python

Nathaniel Echols nechols at lbl.gov
Fri Jan 25 07:47:06 PST 2013


On Fri, Jan 25, 2013 at 5:46 AM,  <Graeme.Winter at diamond.ac.uk> wrote:
> unless I have
>
> import cctbx.uctbx # explicit import
>
> at the top of the Python code - have I done something wrong with the SConscript? I found something similar with
>
> import scitbx.array_family.flex # explicit import
>
> which libtbx.clean_clutter complains about as I don't reference it (hence the additional comment)
>
> Equally I could just leave the additional clutter there but it feels like I should not need it...

FYI, this will not be complained about:

import cctbx.uctbx # import dependency

since in practice there are multiple other situations (some involving
just pure Python, no Boost) where we've found it necessarily to import
something but not directly reference it again.

-Nat


More information about the cctbxbb mailing list