Skip to content

Commit 9a68062

Browse files
committed
Another fix
1 parent 778de53 commit 9a68062

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_wiki/Scala.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ your scala project. The easiest way to do this is to use Maven to build
2121
your scala project and just add BioJava as a dependency. For instance,
2222
add the following to the dependencies section of your pom.xml file.
2323

24-
```xml
24+
```
2525
<dependency>
2626
    <groupId>org.biojava</groupId>
2727
    <artifactId>biojava3-core</artifactId>
@@ -40,7 +40,7 @@ Java classes can be imported and used in scala code without
4040
modification. For instance, here is a scala version of
4141
<BioJava:CookBook3:PSA_DNA>.
4242

43-
```scala
43+
```
4444
/**
4545
 * Demo of using BioJava from scala code. Performs a simple sequence alignment.
4646
 *
@@ -99,7 +99,7 @@ First, include the ScaBio jars and dependencies in your classpath. If
9999
using maven this is quite simple. Add the required packages to your
100100
pom.xml:
101101

102-
```xml
102+
```
103103
<dependency>
104104
    <groupId>net.gumbix</groupId>
105105
    <artifactId>scabio-demo</artifactId>
@@ -111,7 +111,7 @@ Scala objects and methods can now be used from Java code. To display
111111
ScaBio's RNA secondary structure visualization too, for instance, just
112112
call the appropriate method.
113113

114-
```scala
114+
```
115115
public class RNAStruct2DViewer {
116116
   public static void main(String[] args) {
117117
       net.gumbix.bioinf.struct.RNAStruct2DViewer.main(args);
@@ -122,7 +122,7 @@ public class RNAStruct2DViewer {
122122
Here is a more complex example to output the results of the RNA
123123
secondary structure prediction in a simple text format.
124124

125-
```scala
125+
```
126126
import java.util.List;
127127
import net.gumbix.bioinf.struct.AbstractNussinov;
128128
import net.gumbix.bioinf.struct.NussinovDecision;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy