| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4d1b305 commit 222a8ae
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -214,6 +214,9 @@ public void setGroupInfo(String groupName, int groupNumber, | |||
| 214 | 214 | char singleLetterCode, int sequenceIndexId, int secStructType) { | |
| 215 | 215 | // Get the polymer type | |
| 216 | 216 | ResidueType residueType = ResidueType.getResidueTypeFromString(chemCompType); | |
| 217 | + if (residueType == null) | ||
| 218 | + throw new IllegalStateException("Couldn't resolve residue type for "+ chemCompType); | ||
| 219 | + | ||
| 217 | 220 | int polymerType = getGroupTypIndicator(residueType.polymerType); | |
| 218 | 221 | switch (polymerType) { | |
| 219 | 222 | case 1: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments