Anyhow, if you update Phenix you may see errors like:
/local/phenix-1.8.2-1309/
the same run of xia2 as above gave me the following:
File "/local/xia2-0.3.5.0/xia2-
from xia2setup import write_xinfo
File "/local/xia2-0.3.5.0/xia2-
from Schema.Sweep import SweepFactory
File "/local/xia2-0.3.5.0/xia2-
from Wrappers.XIA.Diffdump import Diffdump
File "/local/xia2-0.3.5.0/xia2-
from dxtbx.format.Registry import Registry
File "/local/phenix-1.8.2-1309/
ext = boost.python.import_ext("
File "/local/phenix-1.8.2-1309/
+ [" "+p for p in sys.path]))
ImportError: __import__("dxtbx_ext"): No module named dxtbx_ext
sys.path:
/local/xia2-0.3.5.0/xia2-0.
/local/phenix-1.8.2-1309/
/local/phenix-1.8.2-1309/
...
/local/phenix-1.8.2-1309/
/local/xia2-0.3.5.0/xia2-0.
/local/xia2-0.3.5.0/xia2-0.
/local/xia2-0.3.5.0/
If you get this there are a few solutions:
- just rename the dxtbx directory in phenix/cctbx_project to dxtbx_ignore (which should not break Phenix)
- recompile the module (which takes a moment as *all* of phenix is recompiled) as follows, thanks to Nat Echols:
cd /local/phenix-1.8.2-1309/
./bin/libtbx.configure dxtbx
./bin/libtbx.scons -j X
(replace 'X' with the number of processor cores you want to use)
- go back to using your old phenix for a moment while I add a fix to xia2 to work around this.
I should have seen this coming, but it did take me by surprise... sorry for any inconvenience.
Graeme
No comments:
Post a Comment