﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2367	volume eraser: output array is read-only	tetterst@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Linux-4.15.0-58-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.91 (2019-08-07)
Description
Enclosed a colume of a .mrc file in order to delete it. When pressing ""erase inside sphere"", this error message pops up reproducibly. 

Log:
UCSF ChimeraX version: 0.91 (2019-08-07)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /home/hilvertg/Desktop/postprocessed_files/TetSmall/session.cxs format
session

opened ChimeraX session  

> ui mousemode rightMode ""map eraser""

> volume erase #2 center 275.03,270.67,269.73 radius 61.977

Traceback (most recent call last):  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py"", line 308, in _erase_in_sphere  
self._erase()  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py"", line 327, in _erase  
run(self.session, cmd)  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/commands/run.py"", line 31, in run  
results = command.run(text, log=log)  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/commands/cli.py"", line 2655, in run  
result = ci.function(session, **kw_args)  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py"", line 24, in volume_erase  
_zero_data_in_sphere(v.data, cvol, radius)  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py"", line 41, in _zero_data_in_sphere  
subtract(dmatrix, mdmatrix, dmatrix)  
ValueError: output array is read-only  
  
ValueError: output array is read-only  
  
File ""/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/map_eraser/eraser.py"", line 41, in _zero_data_in_sphere  
subtract(dmatrix, mdmatrix, dmatrix)  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 396.54
OpenGL renderer: GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

}}}
"	defect	closed	normal		Volume Data		duplicate						all	ChimeraX
