cdm_data_loaders.parsers.uniprot.relnotes ¶
Parser for UniProt release notes.
parse_relnotes ¶
Open and read the release notes file, returning it as a text string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
relnotes_path
|
Path
|
path to the release notes file |
required |
Returns:
| Type | Description |
|---|---|
str
|
string |
Source code in src/cdm_data_loaders/parsers/uniprot/relnotes.py
parse ¶
Parse the release notes for a UniProt release.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
relnotes
|
str
|
contents of the release notes file as a string |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
key-value pairs with vital release stats |