Skip to content

Commit

Permalink
Merge pull request nglviewer#990 from panda-byte/980-alphafold-databa…
Browse files Browse the repository at this point in the history
…se-cif-files-cant-be-loaded

Check for missing `pdbx_PDB_helix_class` in CifParser
  • Loading branch information
ppillot authored Jun 16, 2023
2 parents bac4aec + 332dee3 commit c469608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/cif-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function processSecondaryStructure (cif: Cif, structure: Structure, asymIdDict:
// get helices
var sc = cif.struct_conf

if (sc) {
if (sc?.pdbx_PDB_helix_class) {
ensureArray(sc, 'id')

for (i = 0, il = sc.beg_auth_seq_id.length; i < il; ++i) {
Expand Down

0 comments on commit c469608

Please sign in to comment.