Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Goksel Misirli committed Apr 25, 2016
2 parents 7c302c6 + d1833b5 commit a9c0eb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This instance can then be used to fetch, count, search and upload SBOL data to t
If you know the URI of an SBOL entity, you can fetch it directly. For example:

```java
ComponentDefinition cdef = Sequence fetchComponentDefinition(new URI("http://www.bacillondex.org/BO_10050"));
ComponentDefinition cdef = frontend.fetchComponent(new URI("http://www.bacillondex.org/BO_10050"));
```

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

```java
SBOLDocument template = new SBOLDocument();
template.setDefaultURIPrefix("http://www.bacillondex.org/");
template.setDefaultURIprefix("http://www.bacillondex.org/");
```

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

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

0 comments on commit a9c0eb9

Please sign in to comment.