From d63ca331f89ac36fd8de51c2e9dd192c5f3edafd Mon Sep 17 00:00:00 2001 From: Tiago Lubiana Date: Wed, 18 Oct 2023 08:40:50 -0300 Subject: [PATCH] Try to fix formatting issue in curies.md (#453) * Try to fix formatting issue * Update curies.md * Update curies.md to use 4 spaces --- docs/tutorial/curies.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tutorial/curies.md b/docs/tutorial/curies.md index c66ddaafd..9884c4f89 100644 --- a/docs/tutorial/curies.md +++ b/docs/tutorial/curies.md @@ -70,8 +70,9 @@ There are several ways to load a converter: 1. From a pre-defined context, like the OBO Foundry, Bioregistry, Monarch, or others 2. From a prefix map - ```python + ```python + import curies prefix_map = { @@ -79,6 +80,7 @@ There are several ways to load a converter: } converter = curies.load_prefix_map(prefix_map) ``` + 3. From an _extended_ prefix map. This is the preferred format since it supports synonyms for CURIE prefixes and URI prefixes. See [here](https://curies.readthedocs.io/en/latest/tutorial.html#loading-extended-prefix-maps). 4. From a JSON-LD context