﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
880	mmCIF writer writing uninitialised values into _atom_site.label_alt_ID	Tristan Croll	Greg Couch	"open 2r4O
save 2r4O_test.cif #1
open 2r4O_test.cif 


{{{
Traceback (most recent call last):
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/cmd_line/tool.py"", line 188, in execute
cmd.run(cmd_text)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/commands/cli.py"", line 2499, in run
result = ci.function(session, **kw_args)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/commands/open.py"", line 104, in open
models = handle_unknown_kw(session.models.open, paths, format=format, name=name, **kw)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/commands/open.py"", line 57, in handle_unknown_kw
return f(*args, **kw)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/models.py"", line 439, in open
session, filenames, format=format, name=name, **kw)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/io.py"", line 439, in open_multiple_data
models, status = open_data(session, fspec, format=format, name=name, **kw)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/io.py"", line 399, in open_data
models, status = open_func(*args, **kw)
File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/atomic/mmcif.py"", line 44, in open_mmcif
pointers = _mmcif.parse_mmCIF_file(path, _additional_categories, session.logger, coordsets, atomic)
_mmcif.error: not enough data values near line 25

_mmcif.error: not enough data values near line 25

File ""/home/tic20/apps/chimerax/lib/python3.6/site-packages/chimerax/core/atomic/mmcif.py"", line 44, in open_mmcif
pointers = _mmcif.parse_mmCIF_file(path, _additional_categories, session.logger, coordsets, atomic)
}}}

(in Bash shell)
head -30 2r4O_test.cif

{{{
data_2r4O.pdb
#
loop_
_atom_site.id 
_atom_site.type_symbol 
_atom_site.label_atom_id 
_atom_site.label_alt_id 
_atom_site.label_comp_id 
_atom_site.label_asym_id 
_atom_site.label_entity_id 
_atom_site.label_seq_id 
_atom_site.Cartn_x 
_atom_site.Cartn_y 
_atom_site.Cartn_z 
_atom_site.occupancy 
_atom_site.B_iso_or_equiv 
_atom_site.pdbx_PDB_model_num
1 N N ° ALA A 1 1 -30.445 -3.477 17.238 1.00 37.77 1
2 C CA  ALA A 1 1 -29.600 -4.080 16.174 1.00 37.77 1
3 C C  ALA A 1 1 -29.118 -5.476 16.573 1.00 37.77 1
 ALA A 1 1 -28.345 -5.621 17.519 1.00 37.77 1
5 C CB  ALA A 1 1 -28.400 -3.169 15.894 1.00 20.66 1
6 H H1 ALA A 1 1 -30.519 -4.119 18.014 1.00 0.00 1
7 H H2  ALA A 1 1 -31.366 -3.287 16.869 1.00 0.00 1
8 H H3  ALA A 1 1 -30.025 -2.615 17.553 1.00 0.00 1
9 H HA ° ALA A 1 1 -30.194 -4.164 15.264 1.00 0.00 1
10 H HB1  ALA A 1 1 -27.781 -3.612 15.114 1.00 0.00 1
11 H HB2  ALA A 1 1 -27.811 -3.055 16.804 1.00 0.00 1
 ALA A 1 1 -28.754 -2.192 15.566 1.00 0.00 1
13 N N  GLY A 1 2 -29.573 -6.500 15.857 1.00 0.47 1

}}}

... so the label_alt_id column is filled with garbage, and the occasional line seems to be missing the first four columns entirely. Text editors refuse to open the file at all (gedit hangs, geany decides it's not a text file)."	defect	assigned	blocker		Input/Output								all	ChimeraX
