Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Another safeguard, that applies to some PDB-IHM entries
  • Loading branch information
josemduarte committed Feb 21, 2025
commit 12dcb2ce3c1a03d67798311ca7cf6fd26e12563f
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,10 @@ private void initMaps() {

String[] chainNames = entityPoly.getPdbxStrandId().get(rowIndex).split(",");
List<String> asymIds = entityId2asymId.get(entityPoly.getEntityId().get(rowIndex));
if (asymIds == null) {
logger.warn("No asym ids found for entity {} in _struct_asym. Can't provide a mapping from asym ids to author chain ids for this entity", entityPoly.getEntityId().get(rowIndex));
break;
}
if (chainNames.length != asymIds.size()) {
logger.warn("The list of asym ids (from _struct_asym) and the list of author ids (from _entity_poly) " +
"for entity {} have different lengths! Can't provide a mapping from asym ids to author chain " +
Expand Down