Skip to content

Commit a9c0eb9

Browse files
author
Goksel Misirli
committed
2 parents 7c302c6 + d1833b5 commit a9c0eb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This instance can then be used to fetch, count, search and upload SBOL data to t
4949
If you know the URI of an SBOL entity, you can fetch it directly. For example:
5050

5151
```java
52-
ComponentDefinition cdef = Sequence fetchComponentDefinition(new URI("http://www.bacillondex.org/BO_10050"));
52+
ComponentDefinition cdef = frontend.fetchComponent(new URI("http://www.bacillondex.org/BO_10050"));
5353
```
5454

5555
Often, you may not know the exact URI of the object to fetch.
@@ -58,7 +58,7 @@ First create an `SBOLDocument` instance to act as a template for interacting wit
5858

5959
```java
6060
SBOLDocument template = new SBOLDocument();
61-
template.setDefaultURIPrefix("http://www.bacillondex.org/");
61+
template.setDefaultURIprefix("http://www.bacillondex.org/");
6262
```
6363

6464
This can then be used to make an SBOL entity to be used for counting, searching or uploading.
@@ -86,4 +86,4 @@ frontend.upload(document);
8686
```
8787

8888
Variants of these operations exist for different SBOL top-level data types.
89-
If you think something is missing, please get in touch and we will add it.
89+
If you think something is missing, please get in touch and we will add it.

0 commit comments

Comments
 (0)