We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2797c8 commit 4d1b305Copy full SHA for 4d1b305
1 file changed
biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/chem/ResidueType.java
@@ -140,9 +140,9 @@ public static ResidueType getResidueTypeFromString(String chem_comp_type)
140
{
141
return rt;
142
}
143
- if ( rt.chem_comp_type.startsWith(chem_comp_type))
+ if ( rt.chem_comp_type.toLowerCase().startsWith(chem_comp_type.toLowerCase()))
144
145
- if ( chem_comp_type.startsWith(rt.chem_comp_type))
+ if ( chem_comp_type.toLowerCase().startsWith(rt.chem_comp_type.toLowerCase()))
146
147
148
return null;
0 commit comments