Skip to content

Commit 73e1115

Browse files
committed
Make sure we don't define data source twice
1 parent 336dab4 commit 73e1115

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.bridgedb.bio/src/test/java/org/bridgedb/bio/UniProtKBTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class UniProtKBTest {
2121

2222
@BeforeAll
2323
public static void setUpSources() {
24-
DataSourceTxt.init();
24+
if (DataSource.getDataSources().size() < 20) DataSourceTxt.init();
2525
}
2626

2727
@Test

0 commit comments

Comments
 (0)