Skip to content
Snippets Groups Projects
Commit ddbda278 authored by Alexander Rose's avatar Alexander Rose
Browse files

support cif files with only safeFrames

parent ea02fe83
No related branches found
No related tags found
No related merge requests found
......@@ -635,7 +635,7 @@ async function parseInternal(data: string, runtimeCtx: RuntimeContext) {
return error(tokenizer.lineNumber, `Unfinished save frame (${saveFrame.header}).`);
}
if (blockCtx.categoryNames.length > 0) {
if (blockCtx.categoryNames.length > 0 || saveFrames.length > 0) {
dataBlocks.push(Data.CifBlock(blockCtx.categoryNames, blockCtx.categories, blockHeader, saveFrames));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment