Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
BioJava Changelog
-----------------

BioJava 7.2.6
==============================
### Fixed
* Parsing of PDBx/mmCIF with empty database_PDB_rev.date

BioJava 7.2.5
==============================
### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,8 @@ public void consumeDatabasePDBRev(DatabasePDBRev databasePDBrev) {
modDate = relDate;
} else {
String dbrev = databasePDBrev.getDate().get(rowIndex);
modDate = convert(LocalDate.parse(dbrev, DATE_FORMAT));
if (dbrev != null && !dbrev.isBlank())
modDate = convert(LocalDate.parse(dbrev, DATE_FORMAT));
}
pdbHeader.setModDate(modDate);
}
Expand Down
Loading