Skip to content

Commit 5381acd

Browse files
committed
missing description in generic/gprofiler maps
1 parent d1816ad commit 5381acd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/parsers/ParseGenericEnrichmentResults.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public void parseGenericFile(String [] lines){
149149

150150
//The first column of the file is the name of the geneset
151151
String name = tokens[0].toUpperCase().trim();
152+
String description = tokens[1].toUpperCase();
152153

153154
//the current gene-set
154155
GeneSet current_set;
@@ -158,10 +159,8 @@ public void parseGenericFile(String [] lines){
158159
gs_size = current_set.getGenes().size();
159160
}
160161
else
161-
current_set = new GeneSet(name, name);
162-
163-
164-
String description = tokens[1].toUpperCase();
162+
current_set = new GeneSet(name, description);
163+
165164

166165
//The third column is the nominal p-value
167166
if(tokens[2] == null || tokens[2].equalsIgnoreCase("")){

0 commit comments

Comments
 (0)