BinaryCIF
BinaryCIF copied to clipboard
Unclarities in specification
While implementing a BinaryCIF
file interface and I found some parts of the specification ambiguous:
- What are the integer values a
mask
can hold and how do they map to thecif
values (.
and?
) - Is the final
offset
in aString Array
the exclusive stop or a start index itself? - When encoding using
Interval Quantization
, are the values assigned to the closest step or to the next lower/higher step? - Into which data type does
Delta
encode? - How are the data types mapped to integers?
My reading of the code is that ciftools-python 0 = data, 1 = ., 2 = ?
Molstar/src/mol-data/db/column.ts: 0 = present, 1= ., 2 = ?
Also - lack of mask should be None -- not {}
Thanks. I my opinion such details should be part of the specification itself.
Sorry for the late reply. You are right, this should be mentioned in the specification -- I will add it.