Skip to content

Commit

Permalink
Merge pull request #1155 from jmkeil/patch-1
Browse files Browse the repository at this point in the history
replace spaces in tsv examples with tabs
  • Loading branch information
jamesaoverton committed Oct 11, 2023
2 parents 938263f + 5ad8274 commit 2f9eca4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rename.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ The mappings for renaming should be specified with the `--mappings` (for full re
For a full rename (you can use prefixes as long as they are defined by the defaults, `--prefix`, or `--add-prefix`):

```tsv
Old IRI New IRI
obo:BFO_0000051 fb:BFO_1234567
Old IRI New IRI
obo:BFO_0000051 fb:BFO_1234567
```

If you also want to update the `rdfs:label` of the term you replaced, you can add a third column with the new label value (note that this removes *all* old label annotations):
Expand All @@ -68,8 +68,8 @@ obo:BFO_0000051 fb:BFO_1234567 foo bar
For a prefix rename:

```tsv
Old Base New Base
http://purl.obolibrary.org/obo/ http://foo.bar/
Old Base New Base
http://purl.obolibrary.org/obo/ http://foo.bar/
```

The `rename` command expects the first line to contain headers.
Expand Down

0 comments on commit 2f9eca4

Please sign in to comment.