Skip to content

Commit

Permalink
Bugfix for character attribute finding.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Dec 3, 2019
1 parent 8940fa0 commit a1cd6a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -4,7 +4,7 @@ organization := "org.phenoscape"

name := "Phenex"

version := "1.21.1"
version := "1.21.2"

mainClass in Compile := Some("org.phenoscape.main.Phenex")

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/phenoscape/io/TabDelimitedWriter.java
Expand Up @@ -219,8 +219,8 @@ private OBOClass getCharacterAttributeForValueRecurse(OBOClass valueTerm) {
final OBOClass attribute = getCharacterAttributeForValueRecurse(parent);
if (attribute != null) attributes.add(attribute);
}
if (parents.isEmpty()) return null;
else return parents.iterator().next();
if (attributes.isEmpty()) return null;
else return attributes.iterator().next();
}
}

Expand Down

0 comments on commit a1cd6a9

Please sign in to comment.