Skip to content

Commit 17a893f

Browse files
committed
Switching to new DNS name for wwpdb http file server
1 parent 977c1ad commit 17a893f

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ BioJava 6.1.0
88
* GenBankWriterHelper - method that uses the original locus line rather than creating a new one, preventing loss of information
99
* GenBankReader - the ability to successfully parse GenBank files with a LOCUS ID containing white space
1010
* GenBankReader - the ability to successfully parse GenBank files missing a LOCUS ID
11+
* Aromaticity calculation in biojava-aa-prop module
1112

1213
### Fixed
1314
* GenBankWriter - outputting db_xref feature qualifiers
1415
* GenBankWriter - outputting the accession version and GI ID
1516
* GenBankWriter - outputting feature locations containing joins and partial locations
1617
* GenBankReader - reading locations split over multiple lines
1718
* GenBankReader - set if feature qualifier values require quotes
19+
* Local alignment with linear gap penalty was producing an NPE #1036
20+
* New default server for PDB files
21+
* Dependency upgrades
1822

1923
BioJava 6.0.5
2024
==============================

biojava-structure/src/main/java/org/biojava/nbio/structure/io/LocalPDBDirectory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public abstract class LocalPDBDirectory implements StructureIOFile {
6666
* Note that we don't support file stamp retrieving for ftp protocol, thus some of the
6767
* fetch modes will not work properly with ftp protocol
6868
*/
69-
public static final String DEFAULT_PDB_FILE_SERVER = "https://ftp.wwpdb.org";
69+
public static final String DEFAULT_PDB_FILE_SERVER = "https://files.wwpdb.org";
7070
public static final String PDB_FILE_SERVER_PROPERTY = "PDB.FILE.SERVER";
7171

7272
/**
@@ -123,7 +123,7 @@ public static enum FetchBehavior {
123123
*/
124124
public static final long LAST_REMEDIATION_DATE ;
125125
private static final String LAST_REMEDIATION_DATE_STRING = "2011/07/12";
126-
126+
127127
static {
128128

129129
SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd", Locale.US);
@@ -388,7 +388,7 @@ protected InputStream getInputStream(PdbId pdbId) throws IOException{
388388
* @throws IOException
389389
*/
390390
public void prefetchStructure(String pdbId) throws IOException {
391-
391+
392392
// Check existing
393393
File file = downloadStructure(new PdbId(pdbId));
394394

biojava-structure/src/test/java/org/biojava/nbio/structure/io/TestURLBasedFileParsing.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,10 @@ public class TestURLBasedFileParsing {
3636

3737
@Test
3838
public void testMMcifURL() throws StructureException, IOException{
39-
40-
String u = "https://ftp.wwpdb.org/pub/pdb/data/assemblies/mmCIF/divided/nw/4nwr-assembly1.cif.gz";
39+
String u = "https://files.wwpdb.org/pub/pdb/data/assemblies/mmCIF/divided/nw/4nwr-assembly1.cif.gz";
4140

4241
Structure s = StructureIO.getStructure(u);
4342

4443
assertNotNull(s);
45-
46-
4744
}
4845
}

0 commit comments

Comments
 (0)