Skip to content

Commit a695df5

Browse files
committed
fixing jekyll build error
1 parent ace4398 commit a695df5

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

_wikis/BioJava:CookBook:Interfaces:ViewAsTree.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ The following program demonstrates the use of a FeatureTree. It takes
2121
two arguments. The first is the name of a file containing sequence data.
2222
The second is a number specifying the format of the data.
2323

24-
<java> import java.awt.\*; import java.awt.event.\*; import java.io.\*;
24+
```java
25+
import java.awt.\*; import java.awt.event.\*; import java.io.\*;
2526

2627
import javax.swing.\*;
2728

@@ -95,17 +96,19 @@ public class TreeFrame extends JFrame {
9596
`   }`
9697
` }`
9798

98-
} </java>
99+
}
100+
```
99101

100102
To draw Tree by Clustering Algorithms (**UPGMA** and **NJ**) a Distance
101103
Matrix is taken as input. Graphics allow to draw tree with the drawLine
102104
function. Match7 will be the main class for the call of NewClass having
103105
functions for UPGMA and NJ.
104106

105-
<java> package ClusteringAlgorithms public class Match7 { public static
107+
```java
108+
package ClusteringAlgorithms public class Match7 { public static
106109
void main(String[] args) {
107110

108-
double[][] ds1 = {{},
111+
double[][] ds1 = { { },
109112

110113
`              {3.5},`
111114
`              {17.0,14.0},`
@@ -125,9 +128,9 @@ double[][] ds1 = {{},
125128

126129
}
127130

128-
</java>
131+
```
129132

130-
<java>
133+
```java
131134

132135
import java.awt.\*; import java.awt.event.\*;
133136

@@ -541,4 +544,4 @@ class ClosableFrame extends Frame {
541544

542545
}
543546

544-
</java>
547+
```

0 commit comments

Comments
 (0)