X Tutup
Skip to content

Commit 796b414

Browse files
committed
Fixed bug: some resources paths were referring to old biojava/bio paths
The new resources already existed but they were not referenced to, now also removed the old org/biojava/bio resource files too
1 parent b54672d commit 796b414

File tree

4 files changed

+3
-8089
lines changed

4 files changed

+3
-8089
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/StandardAminoAcid.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private StandardAminoAcid() {
5656
*
5757
* <p>
5858
* This parses the resource
59-
* <code>org/biojava/bio/structure/standardaminos.pdb</code>
59+
* <code>org/biojava/nbio/structure/standardaminos.pdb</code>
6060
* and builds a basic set of amino acids.
6161
*</p>
6262
* @author Tamas Horvath provided the standard amino acids
@@ -66,7 +66,7 @@ private StandardAminoAcid() {
6666

6767
try {
6868
InputStream fileStream = StandardAminoAcid.class.getClassLoader().getResourceAsStream(
69-
"org/biojava/bio/structure/standardaminos.pdb"
69+
"org/biojava/nbio/structure/standardaminos.pdb"
7070
);
7171
if (fileStream == null) {
7272
throw new Exception("Couldn't locate standardaminos.pdb. This probably means that your biojava.jar file is corrupt or incorrectly built.");

biojava-structure/src/main/java/org/biojava/nbio/structure/xtal/SymoplibParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class SymoplibParser {
5151

5252
private static final String newline = System.getProperty("line.separator");
5353

54-
private static final String SPACE_GROUPS_FILE = "org/biojava/bio/structure/xtal/spacegroups.xml";
54+
private static final String SPACE_GROUPS_FILE = "org/biojava/nbio/structure/xtal/spacegroups.xml";
5555

5656
private static final Pattern namePat = Pattern.compile(".*\\s([A-Z]+)(\\s'.+')?\\s+'(.+)'.*");
5757

biojava-structure/src/main/resources/org/biojava/bio/structure/standardaminos.pdb

Lines changed: 0 additions & 167 deletions
This file was deleted.

0 commit comments

Comments
 (0)
X Tutup