Closed pablopareja closed 9 years ago
hey @pablopareja you need to create the level-0 graphs first in a separate statement. Could be only that, but maybe there's something else.
OK, I'm already working on that, let's see what happens...
I still get the same exception...
SEVERE: null
java.lang.NullPointerException
at com.bio4j.model.uniprot_go.UniProtGoGraph$GoAnnotationType.<init>(UniProtGoGraph.java:79)
at com.bio4j.titan.model.uniprot_go.TitanUniProtGoGraph.initTypes(TitanUniProtGoGraph.java:58)
at com.bio4j.titan.model.uniprot_go.TitanUniProtGoGraph.<init>(TitanUniProtGoGraph.java:37)
at com.bio4j.titan.model.uniprot_go.programs.ImportUniProtGoTitan.config(ImportUniProtGoTitan.java:49)
at com.bio4j.titan.model.uniprot_go.programs.ImportUniProtGoTitan.config(ImportUniProtGoTitan.java:39)
at com.bio4j.model.uniprot_go.programs.ImportUniProtGo.importUniProtGo(ImportUniProtGo.java:57)
at com.bio4j.titan.model.uniprot_go.programs.ImportUniProtGoTitan.execute(ImportUniProtGoTitan.java:58)
at com.ohnosequences.util.ExecuteFromFile.main(ExecuteFromFile.java:66)
at com.bio4j.titan.programs.ImportTitanDB.main(ImportTitanDB.java:8)
any ideas?
@pablopareja this should be reproducible inside a test with empty graphs were we only create the types. Let's write that first.
OK :wink:
Should I create the Scala test like those for GO and Enzyme modules?
as you please
@pablopareja this branch?
@eparejatobes This branch is the most up-to-date one and includes all the last fixes I implemented for the few issues that we got lately. If I manage to finally import UniRef 100 with this (and even if we don't ), we could merge this into master since it holds the current reference code for the Titan implementation.
This is the exception:
@eparejatobes could you give me a hand figuring out a way to fix it?