Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Mar 11, 2024
1 parent 001d3cf commit 4ffafd1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ Reference
.. automodapi:: biomappings.utils

.. automodapi:: biomappings.testing

.. automodapi:: biomappings.resources
4 changes: 4 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Scripts

This folder houses scripts that can be used to generate predicted mappings, typically
through a lexical mapping workflow.
28 changes: 28 additions & 0 deletions src/biomappings/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,34 @@

from biomappings.utils import OVERRIDE_MIRIAM, RESOURCE_PATH, get_canonical_tuple

__all__ = [
"MappingTuple",
"MAPPINGS_HEADER",
"PredictionTuple",
"PREDICTIONS_HEADER",
"Mappings",
"load_mappings",
"load_mappings_subset",
"append_true_mappings",
"append_true_mapping_tuples",
"write_true_mappings",
"load_false_mappings",
"append_false_mappings",
"write_false_mappings",
"load_unsure",
"append_unsure_mappings",
"write_unsure_mappings",
"load_predictions",
"append_predictions",
"append_prediction_tuples",
"write_predictions",
"remove_mappings",
"load_curators",
"filter_predictions",
"get_curated_filter",
"prediction_tuples_from_semra",
]

logger = logging.getLogger(__name__)

MAPPINGS_HEADER = [
Expand Down

0 comments on commit 4ffafd1

Please sign in to comment.