Skip to content

Commit dd8ae0e

Browse files
committed
Change pathway commons URL
1 parent 402000b commit dd8ae0e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/PropertyManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private Property(String key, T defaultValue, Function<String,T> converter) {
3636
public static final Property<Double> Q_VALUE = new Property<>("default.qvalue", 0.1, Double::valueOf);
3737
public static final Property<Boolean> CREATE_WARN = new Property<>("create.warn", true, Boolean::valueOf);
3838
public static final Property<Distance> DISTANCE_METRIC = new Property<>("default.distanceMetric", Distance.PEARSON, Distance::valueOf);
39-
public static final Property<String> PATHWAY_COMMONS_URL = new Property<>("pathway.commons.url", "https://beta.pathwaycommons.org/paint", String::valueOf);
39+
public static final Property<String> PATHWAY_COMMONS_URL = new Property<>("pathway.commons.url", "http://apps.pathwaycommons.org/paint", String::valueOf);
4040

4141
@Inject private CyProperty<Properties> cyProps;
4242

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/actions/OpenPathwayCommonsTaskFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public TaskIterator createTaskIterator(View<CyNode> nodeView, CyNetworkView netw
2121

2222
@Override
2323
public boolean isReady(View<CyNode> nodeView, CyNetworkView networkView) {
24+
// TODO disable if network has no class data
2425
return emManager.isEnrichmentMap(networkView);
2526
}
2627

0 commit comments

Comments
 (0)