Skip to content

Commit a2752a2

Browse files
committed
better docs
1 parent 29fa777 commit a2752a2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/ga4gh/vrs/extras/translator.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ def _to_gnomad(
435435
436436
If no alias translations are available, an empty list is returned.
437437
438+
If `namespace` is not None, returns gnomAD strings for the
439+
specified namespace if applicable, or throws ValueError if not.
440+
441+
If `namespace` is None, returns gnomAD strings based oof of the
442+
`default_assembly_name`.
443+
438444
If the VRS object cannot be expressed in gnomAD-style, raises ValueError.
439445
"""
440446
namespace = namespace or self.default_assembly_name

0 commit comments

Comments
 (0)