Open egonw opened 9 years ago
This pathway converted in Version 50 but the one from Version 53 gives this error.
converting pathway #556833 Metabolism of lipids and lipoproteins...
Creating new GPML pathway 556835
Warning creating a new DataSource with systemCode Re and null fullName!
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.pathvisio.core.biopax.BiopaxNode.
Anwesha, can you please try the following:
Replace
DataSource ds = DataSource.getBySystemCode("Re");
with
DataSource ds = DataSource.getExistingBySystemCode("Re");
initialize the DataSourceTxt yourself, at the very start of the convertPathway() method, with:
DataSourceTxt.init();
For example, if I compare http://www.wikipathways.org/index.php/Pathway:WP1849 with the original [0] then the arrows seem to be missing.
0.http://www.reactome.org/PathwayBrowser/#DB=gk_current&FOCUS_SPECIES_ID=48887&FOCUS_PATHWAY_ID=556833