Skip to content

Commit

Permalink
Fixed a bug causing errors when sending networks from STRING to
Browse files Browse the repository at this point in the history
Cytoscape for some species.
  • Loading branch information
scaramonche committed May 29, 2024
1 parent 80f1395 commit 1a971ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>bundle</packaging>
<name>${bundle.symbolicName}</name>

<version>2.1.0</version>
<version>2.1.1</version>

<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ public ProteinQueryTask(final StringManager manager) {
public void run(TaskMonitor monitor) {
monitor.setTitle("STRING Protein Query");
Species sp = Species.getSpecies(species);
if (taxonID != -1 && !sp.isCustom()) {
// if (taxonID != -1 && sp != null && !sp.isCustom()) {
// Fallback to species taxonID if species name was not enough to find our species
if (sp == null && taxonID != -1) {
for (Species s : speciesList) {
if (s.getTaxId() == taxonID) {
if (!s.toString().equals(species)) {
Expand Down
Binary file renamed stringApp-2.1.0.jar → stringApp-2.1.1.jar
Binary file not shown.

0 comments on commit 1a971ea

Please sign in to comment.