Sitelet https://github.com/biojava/biojava/pull/1145
Skip to content

Fix ArrayIndexOutOfBoundsException and file validation in CathInstallation - #1145

Merged
josemduarte merged 6 commits into
masterfrom
jd/cath-fixes
Aug 27, 2026
Merged

Fix ArrayIndexOutOfBoundsException and file validation in CathInstallation#1145
josemduarte merged 6 commits into
masterfrom
jd/cath-fixes

Conversation

@josemduarte

Copy link
Copy Markdown
Contributor

Even after the CATH url was fixed there were still some errors in the integration test. This should fix them.

@josemduarte
josemduarte requested a review from aalhossary August 26, 2026 22:51

@aalhossary aalhossary left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both look good. Throwing is better than the warning I suggested.
An empty domain map only surfaces later and further away.
And you're right about the names file: the old code would have thrown on token[2], so returning null is strictly an improvement.

@josemduarte
josemduarte merged commit 7085ddb into master Aug 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants