You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Applying a modeltest result with an unlisted protein matrix throws a TypeError #403
Alignment.setModelFromString (src/app/store/Alignment.ts:353) reads the protein matrix name with re.exec( model )[1], where re matches the RAxML amino-acid matrix names at the end of modeltest-ng's suggested RAxML model. When the suggested model ends in a matrix name the app doesn't list, exec returns null and the line throws an uncaught TypeError, so applying the modeltest result to a protein alignment fails partway, after some run options have already been set.
Expected
The app says the suggested matrix isn't supported (a user-fix error), or keeps the current matrix, instead of a TypeError.
Found while charting Map: strict TypeScript: strictNullChecks flags it, and the map rules that a fix changing user-visible behavior is its own issue.
Activity