Skip to content

Commit 5f94ec7

Browse files
committed
updating some hard coded paths
1 parent 4da0803 commit 5f94ec7

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

biojava-core/src/main/java/org/biojava/nbio/core/sequence/io/IUPACParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static IUPACParser getInstance() {
8484
return IOD.INSTANCE;
8585
}
8686

87-
public static final String IUPAC_LOCATION = "org/biojava3/core/sequence/iupac.txt";
87+
public static final String IUPAC_LOCATION = "/org/biojava/nbio/core/sequence/iupac.txt";
8888

8989
private InputStream is;
9090
private List<IUPACTable> tables;

biojava-core/src/main/resources/org/biojava3/core/sequence/iupac.txt renamed to biojava-core/src/main/resources/org/biojava/nbio/core/sequence/iupac.txt

File renamed without changes.

biojava-core/src/test/java/org/biojava/nbio/core/sequence/TranslationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ public class TranslationTest {
6161
@BeforeClass
6262
public static void parseSequences() {
6363
InputStream cdsIs = new ClasspathResource(
64-
"org/biojava3/core/sequence/BRCA2-cds.fasta").getInputStream();
64+
"/org/biojava/nbio/core/sequence/BRCA2-cds.fasta").getInputStream();
6565
InputStream pepIs = new ClasspathResource(
66-
"org/biojava3/core/sequence/BRCA2-peptide.fasta").getInputStream();
66+
"/org/biojava/nbio/core/sequence/BRCA2-peptide.fasta").getInputStream();
6767
InputStream volDnaIs = new ClasspathResource(
68-
"org/biojava3/core/sequence/volvox-cds.fasta").getInputStream();
68+
"/org/biojava/nbio/core/sequence/volvox-cds.fasta").getInputStream();
6969
InputStream volPepIs = new ClasspathResource(
70-
"org/biojava3/core/sequence/volvox-peptide.fasta").getInputStream();
70+
"/org/biojava/nbio/core/sequence/volvox-peptide.fasta").getInputStream();
7171

7272
try {
7373
FastaReader<DNASequence, NucleotideCompound> dnaReader = new FastaReader<DNASequence, NucleotideCompound>(cdsIs,

biojava-modfinder/src/test/java/org/biojava/nbio/protmod/structure/ModifiedCompoundSerializationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private String doXMLSerialization(ModifiedCompound mc) throws IOException{
184184
}
185185

186186
public void testFlatFileParsing(){
187-
InputStream inStream = this.getClass().getResourceAsStream("/org/biojava3/protmod/parser/modifiedCompound.xml");
187+
InputStream inStream = this.getClass().getResourceAsStream("/org/biojava/nbio/protmod/parser/modifiedCompound.xml");
188188
assertNotNull(inStream);
189189
try {
190190
String xml = convertStreamToString(inStream);

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<connection>scm:git:git://github.com/biojava/biojava.git</connection>
4545
<developerConnection>scm:git:git@github.com:biojava/biojava.git</developerConnection>
4646
<url>https://github.com/biojava/biojava</url>
47-
<tag>biojava-4.0.0</tag>
47+
4848
</scm>
4949

5050
<!-- This section required for release at Maven Central. For a full list

0 commit comments

Comments
 (0)