-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The example given at Assembly refers to an invalid SSSOM file:
import semra.io
# load mappings from any standardized SSSOM file as a file path or URL, via `pandas.read_csv`
sssom_url = "https://w3id.org/biopragmatics/biomappings/sssom/biomappings.sssom.tsv"
mappings = semra.io.from_sssom(sssom_url)File https://w3id.org/biopragmatics/biomappings/sssom/biomappings.sssom.tsv currently lacks a SSSOM MappingSet header so it can only be parsed as valid SSSOM with external metadata to specify at least required fields mapping_set_id and license.
Function from_sssom could be extended an documented to
- support
mapping_set_idwith default value derived frompath(URL orfile://- URI)- - support
licensewith default value
mappings = semra.io.from_sssom(sssom_url, license="https://creativecommons.org/licenses/by/4.0/")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels