Skip to content

Commit 4ec953f

Browse files
Seekerandreasprlic
authored andcommitted
/* I've noticed some misprints in BioJavaX Documentation and in the source code. */
1 parent 35d6e60 commit 4ec953f

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

wiki/User_talk:Seeker.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ String function = "", note = "";
7676

7777
while (nit.hasNext()) {
7878

79+
` SimpleNote sn = (SimpleNote) nit.next();`
80+
` String snTermName = sn.getTerm().getName(); `
81+
7982
` if (fType.equals("CDS")) {`
8083

8184
`   if (snTermName.equals("function")) {`
@@ -109,3 +112,9 @@ The output was as follows:
109112
`MEQQQNSYDENQIQVLEGLEAVRKRPGMYIGSTNSKGLHHLVWEIVDNSIDEALAGYCTDINIQIEKDNSITVVDNGRGIPVGIHEKMGRPAVEVIMT               `
110113

111114
\<\\code\>
115+
116+
As one can see from the output the **getValue()** method of the
117+
**SimpleNote** class returns String objects that contain *new line
118+
symbols* when its object represents **function** & **note** terms. I
119+
consider this rather irrational. One can also see that there are no *new
120+
line symbols* in the case of **translation** term. This is well.

wiki/User_talk:Seeker.mediawiki

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ String function = "", note = "";
6060

6161
while (nit.hasNext()) {
6262

63+
SimpleNote sn = (SimpleNote) nit.next();
64+
String snTermName = sn.getTerm().getName();
65+
6366
if (fType.equals("CDS")) {
6467
6568
if (snTermName.equals("function")) {
@@ -90,4 +93,7 @@ The output was as follows:
9093
relaxes positive and negative DNA supercoiling
9194
Translation:
9295
MEQQQNSYDENQIQVLEGLEAVRKRPGMYIGSTNSKGLHHLVWEIVDNSIDEALAGYCTDINIQIEKDNSITVVDNGRGIPVGIHEKMGRPAVEVIMT
93-
<\code>
96+
<\code>
97+
98+
As one can see from the output the '''getValue()''' method of the '''SimpleNote''' class returns String objects that contain ''new line symbols'' when its object represents '''function''' & '''note''' terms.
99+
I consider this rather irrational. One can also see that there are no ''new line symbols'' in the case of '''translation''' term. This is well.

0 commit comments

Comments
 (0)