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-4390 don't output alignment to text panel and stdout when lots of sequences proce...
[jalview.git]
/
src
/
jalview
/
util
/
DBRefUtils.java
diff --git
a/src/jalview/util/DBRefUtils.java
b/src/jalview/util/DBRefUtils.java
index
e17a336
..
98d5e11
100755
(executable)
--- a/
src/jalview/util/DBRefUtils.java
+++ b/
src/jalview/util/DBRefUtils.java
@@
-30,6
+30,7
@@
import java.util.Map;
import com.stevesoft.pat.Regex;
import com.stevesoft.pat.Regex;
+import jalview.bin.Console;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.DBRefSource;
import jalview.datamodel.Mapping;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.DBRefSource;
import jalview.datamodel.Mapping;
@@
-810,9
+811,12
@@
public class DBRefUtils
// toPromote.add(cand);
if (!cand.isPrimaryCandidate())
{
// toPromote.add(cand);
if (!cand.isPrimaryCandidate())
{
- System.out.println(
- "Warning: Couldn't promote dbref " + cand.toString()
- + " for sequence " + sequence.toString());
+ if (Console.isDebugEnabled())
+ {
+ Console.debug(
+ "Warning: Couldn't promote dbref " + cand.toString()
+ + " for sequence " + sequence.toString());
+ }
}
}
}
}
}
}