﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
697	cif file saved from model with children causes segmentation fault on load	Tristan Croll	Greg Couch	"Two-parter here:

1. If I have an AtomicStructure with child models underneath it, there doesn't seem to be (or at least I can't find) a keyword in the command-line save to save only the top-level model. That is, if I have models 1.1, 1.1.1, 1.1.2 etc., then 

{{{
save file.cif #1.1
}}}

saves all of them to a single .cif file. Attempting to open said .cif file causes a segmentation fault: 


{{{
Fatal Python error: Segmentation fault

Current thread 0x00007f3f81c8e740 (most recent call first):
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/atomic/mmcif.py"", line 45 in open_mmcif
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/io.py"", line 352 in open_data
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/io.py"", line 392 in open_multiple_data
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/models.py"", line 348 in open
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/commands/open.py"", line 57 in handle_unknown_kw
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/commands/open.py"", line 104 in open
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/commands/cli.py"", line 2366 in run
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/cmd_line/tool.py"", line 171 in execute
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/cmd_line/tool.py"", line 64 in keyPressEvent
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/ui/gui.py"", line 167 in event_loop
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/ChimeraX_main.py"", line 572 in init
  File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/ChimeraX_main.py"", line 663 in <module>
  File ""/home/tic20/apps/chimerax/lib/python3.6/runpy.py"", line 85 in _run_code
  File ""/home/tic20/apps/chimerax/lib/python3.6/runpy.py"", line 193 in _run_module_as_main
/home/tic20/bin/ChimeraX: line 7:  1628 Segmentation fault      (core dumped) $CHIMERA_HOME/bin/ChimeraX $*
}}}

Is there a keyword (or could one be added) to specify saving **only** the model described by the atomspec?

"	defect	closed	blocker		Input/Output		fixed		Tom Goddard				all	ChimeraX
