Skip to content

Commit ad751de

Browse files
committed
removing string quotation characters should not happen at this place.
1 parent fe092ee commit ad751de

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/chem

biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/chem/ResidueType.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ public enum ResidueType implements Serializable {
9797
public static ResidueType getResidueTypeFromString(String chem_comp_type)
9898
{
9999

100-
chem_comp_type = chem_comp_type.replaceAll("'", "");
101-
chem_comp_type = chem_comp_type.replaceAll("\"", "");
102-
103100
for(ResidueType rt : ResidueType.values())
104101
{
105102
if(rt.chem_comp_type.equalsIgnoreCase(chem_comp_type))

0 commit comments

Comments
 (0)