Skip to content

Commit

Permalink
update globi libs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpoelen committed Sep 27, 2018
1 parent 7a0354b commit d0f886c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<description>Discover, cache and check species interaction data</description>

<properties>
<globi.version>0.9.25</globi.version>
<globi.version>0.10.0</globi.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
<project.build.testResourceEncoding>UTF-8</project.build.testResourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.beust.jcommander.Parameters;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eol.globi.data.NodeFactory;
import org.eol.globi.data.StudyImporterException;
import org.eol.globi.service.Dataset;
import org.eol.globi.service.DatasetFactory;
Expand Down Expand Up @@ -32,11 +33,11 @@ public void run() {
Dataset dataset =
DatasetFactory.datasetFor(namespace,
CmdUtil.createDataFinderLoggingCaching(finder, namespace, getCacheDir()));
NodeFactoryNull nodeFactoryNull = new NodeFactoryNull();
nodeFactoryNull.getOrCreateDataset(dataset);
NodeFactory factory = new NodeFactoryNull();
factory.getOrCreateDataset(dataset);
try {
new GitHubImporterFactory()
.createImporter(dataset, nodeFactoryNull)
.createImporter(dataset, factory)
.importStudy();
} catch (StudyImporterException ex) {
LOG.error("update of [" + namespace + "] failed.", ex);
Expand Down

0 comments on commit d0f886c

Please sign in to comment.