Skip to content

Commit b431401

Browse files
author
Paul Pavlidis
committed
Merge branch 'release-1.0.29'
2 parents 8df4b72 + 1dab4b9 commit b431401

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>baseCode</name>
66
<groupId>baseCode</groupId>
77
<artifactId>baseCode</artifactId>
8-
<version>1.0.28</version>
8+
<version>1.0.29</version>
99
<inceptionYear>2003</inceptionYear>
1010
<description>
1111
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>

src/ubic/basecode/ontology/search/IndexerSelector.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ public IndexerSelector() {
6868
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/gwas_trait" );
6969
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/definition_editor" );
7070
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/example_of_usage" );
71+
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/creator" );
72+
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/definition_citation" );
73+
unwantedForIndexing.add( "http://www.geneontology.org/formats/oboInOwl#created_by" );
74+
unwantedForIndexing.add( "http://purl.org/dc/elements/1.1/rights" );
75+
unwantedForIndexing.add( "http://purl.org/dc/terms/license" );
76+
unwantedForIndexing.add( "http://www.w3.org/2000/01/rdf-schema#comment" );
77+
unwantedForIndexing.add( "http://www.w3.org/2002/07/owl#versioninfo" );
7178
unwantedForIndexing.add( "http://www.geneontology.org/formats/oboInOwl#Definition" );
7279
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/IAO_0000115" ); // 'definition' - too often has extra
7380
// junk.
@@ -94,7 +101,7 @@ public IndexerSelector() {
94101
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/UBPROP_0000005" ); // external comment
95102
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/UBPROP_0000011" ); // development notes
96103
unwantedForIndexing.add( "http://xmlns.com/foaf/0.1/depicted_by" ); // not sure how often this comes up as a problem, but it does for one case
97-
104+
98105
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/CLO_0037275" ); // problematic cell line annotation as in "this is not a glioblastoma"
99106
}
100107

@@ -155,7 +162,7 @@ public boolean test( Statement s ) {
155162
if ( !retain && log.isDebugEnabled() ) {
156163
log.debug( "Removed: " + s );
157164
}
158-
165+
159166
return retain;
160167
}
161168
}

test/ubic/basecode/util/NetUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ final public void testFtpFileSize() throws Exception {
8080
log.warn( "Could not connect to ftp.ncbi.nlm.nih.gov, skipping test" );
8181
return;
8282
}
83-
long actualValue = NetUtils.ftpFileSize( f, "genomes/Pan_troglodytes/WGS_12Dec2003/WIBR.seq007.fa" );
84-
long expectedValue = 131446617;
85-
assertEquals( expectedValue, actualValue, 100000 ); // don't really care if they change the file size....
83+
long actualValue = NetUtils.ftpFileSize( f, "genomes/all/annotation_releases/1026970/102/Nannospalax_galili_AR102_annotation_report.xml" );
84+
long expectedValue = 79819;
85+
assertEquals( expectedValue, actualValue, 10000 ); // don't really care if they change the file size....
8686
}
8787

8888
@Test

0 commit comments

Comments
 (0)