Skip to content

Commit 01a1b7a

Browse files
Refs PR #885 and fixed #876.
1 parent 78475a0 commit 01a1b7a

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ The following environment variables can be used to configure the server:
3434

3535
- `NODE_ENV` : the environment mode, either `production` or `development` (default)
3636
- `PC_URL` : actual Pathway Commons web service endpoint URL (default: 'http://www.pathwaycommons.org/pc2/')
37-
- `PC_XMLBASE` : actual Pathway Commons BioPAX xml:base (e.g., 'http://pathwaycommons.org/pc2/' for the v9; it's not address)
3837
- `PORT` : the port on which the server runs (default 3000)
3938

4039
### Configure RethinkDB
@@ -46,7 +45,7 @@ The following environment variables can be used to configure the server:
4645
### Switching Pathway Commons Versions (release/other)
4746

4847
If Pathway Commons data and files have been updated since this app's last built and run,
49-
or you simply want to connect to a different PC2 instance (don't forget to set PC_URL and PC_XMLBASE),
48+
or you simply want to connect to a different PC2 instance (don't forget to set PC_URL),
5049
then the file `src/server/graph-generation/biopax-metadata/generic-physical-entity-map.json`
5150
needs to be updated. Also, purge the RethinkDb db tables or simply switch the database.
5251

src/client/features/enrichment/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ class Enrichment extends React.Component {
7171
}
7272

7373
handleGenes( genes ) {
74-
this.setState( { genes } );console.log(genes);
74+
this.setState( { genes } );
75+
// console.log(genes);
7576
}
7677

7778
render() {

src/config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ let defaults = {
55
PORT: 3000,
66
MASTER_PASSWORD: '',
77
PC_URL: 'http://www.pathwaycommons.org/pc2/',
8-
PC_XMLBASE: 'http://pathwaycommons.org/pc2/',
98
GPROFILER_URL: "http://biit.cs.ut.ee/gprofiler_archive3/r1741_e90_eg37/web/",
109
PC_CACHE_MAX_SIZE: 1000
1110
};

src/server/graph-generation/biopax-metadata/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const fs = require('fs');
22
const metadataParser = require('./metadataParserJson');
33
const _ = require('lodash');
4-
// const config = require('../../../config');
54

65
var biopaxMap = null;
76

src/server/pathway-commons/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ const _datasources = () => {
107107
hasPathways: (ds.numPathways>0)?true:false
108108
};
109109
});
110-
// console.log(output);
111110
return output; //filtered, simplified map
112111
})
113112
.catch(() => {

0 commit comments

Comments
 (0)