[cctbxbb] Failure in phenix.map_box when working with map files....

Pavel Afonine pafonine at lbl.gov
Mon Sep 7 08:31:42 PDT 2015


Hi Ezra,

could you please send me the file that generated this crash?

Thanks,
Pavel

On 9/7/15 07:59, Ezra Peisach wrote:
> Has anyone observed a failure of phenix.map_box when working with map 
> files?
> When working with a structure factor file with map coefficients, it 
> works fine.
>
> When a map file is used - the following occurs:
>
> Traceback (most recent call last):
>   File 
> "/local/scratch/CCTBX/cctbx_build/../cctbx_sources/mmtbx/command_line/map_box.py", 
> line 194, in <module>
>     run(args=sys.argv[1:])
>   File 
> "/local/scratch/CCTBX/cctbx_build/../cctbx_sources/mmtbx/command_line/map_box.py", 
> line 158, in run
>     selection        = selection)
>   File "/local/scratch/CCTBX/cctbx_sources/mmtbx/utils/__init__.py", 
> line 2938, in __init__
>     self.map_box = maptbx.copy(map_data, gridding_first, gridding_last)
> Boost.Python.ArgumentError: Python argument types in
>     cctbx_maptbx_ext.copy(double, list, list)
> did not match C++ signature:
>     copy(scitbx::af::const_ref<double, 
> cctbx::maptbx::c_grid_padded_p1<3ul> > map_unit_cell, 
> scitbx::af::tiny<int, 3ul> first, scitbx::af::tiny<int, 3ul> last)
>     copy(scitbx::af::const_ref<float, 
> cctbx::maptbx::c_grid_padded_p1<3ul> > map_unit_cell, 
> scitbx::af::tiny<int, 3ul> first, scitbx::af::tiny<int, 3ul> last)
>     copy(scitbx::af::const_ref<double, 
> scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > map, 
> scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > result_grid)
>     copy(scitbx::af::const_ref<float, 
> scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > map, 
> scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > result_grid)
>
> Any suggestions?
>
> The map_data is the same format in the call....
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb



More information about the cctbxbb mailing list