git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1632 add score model params to PCAModel and PCA constructors
[jalview.git]
/
src
/
jalview
/
datamodel
/
Annotation.java
diff --git
a/src/jalview/datamodel/Annotation.java
b/src/jalview/datamodel/Annotation.java
index
26dc0fa
..
71ebbb3
100755
(executable)
--- a/
src/jalview/datamodel/Annotation.java
+++ b/
src/jalview/datamodel/Annotation.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-107,9
+107,13
@@
public class Annotation
return;
}
if (that.displayCharacter != null)
return;
}
if (that.displayCharacter != null)
+ {
displayCharacter = new String(that.displayCharacter);
displayCharacter = new String(that.displayCharacter);
+ }
if (that.description != null)
if (that.description != null)
+ {
description = new String(that.description);
description = new String(that.description);
+ }
secondaryStructure = that.secondaryStructure;
value = that.value;
colour = that.colour;
secondaryStructure = that.secondaryStructure;
value = that.value;
colour = that.colour;
@@
-168,7
+172,7
@@
public class Annotation
{
sb.append(",");
}
{
sb.append(",");
}
- if (value != Float.NaN)
+ if (!Float.isNaN(value))
{
sb.append(value);
}
{
sb.append(value);
}