haplohub-cli 3.3.0__tar.gz → 3.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. {haplohub_cli-3.3.0/haplohub_cli.egg-info → haplohub_cli-3.4.0}/PKG-INFO +2 -2
  2. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/docs/sdk-coupling.md +1 -1
  3. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/_version.py +3 -3
  4. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/sample.py +20 -1
  5. haplohub_cli-3.4.0/haplohub_cli/commands/cohort/tests/test_genotypes.py +38 -0
  6. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/__init__.py +1 -0
  7. haplohub_cli-3.4.0/haplohub_cli/formatters/genotype.py +35 -0
  8. haplohub_cli-3.4.0/haplohub_cli/formatters/tests/test_genotype.py +70 -0
  9. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0/haplohub_cli.egg-info}/PKG-INFO +2 -2
  10. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli.egg-info/SOURCES.txt +3 -0
  11. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli.egg-info/requires.txt +1 -1
  12. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli.egg-info/scm_file_list.json +3 -0
  13. haplohub_cli-3.4.0/haplohub_cli.egg-info/scm_version.json +8 -0
  14. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/pyproject.toml +1 -1
  15. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/uv.lock +1 -1
  16. haplohub_cli-3.3.0/haplohub_cli.egg-info/scm_version.json +0 -8
  17. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/.github/dependabot.yml +0 -0
  18. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/.github/workflows/on_pr.yml +0 -0
  19. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/.github/workflows/on_push_main.yml +0 -0
  20. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/.gitignore +0 -0
  21. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/.pre-commit-config.yaml +0 -0
  22. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/AGENTS.md +0 -0
  23. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/CLAUDE.md +0 -0
  24. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/README.md +0 -0
  25. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/docs/index.md +0 -0
  26. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/docs/release.md +0 -0
  27. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/docs/stage-verification.md +0 -0
  28. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/docs/testing.md +0 -0
  29. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/__init__.py +0 -0
  30. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/__init__.py +0 -0
  31. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/auth.py +0 -0
  32. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/auth_web_server.py +0 -0
  33. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/oauth_client.py +0 -0
  34. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/tests/__init__.py +0 -0
  35. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/tests/test_auth_web_server.py +0 -0
  36. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/tests/test_token_storage.py +0 -0
  37. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/auth/token_storage.py +0 -0
  38. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/cli.py +0 -0
  39. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/__init__.py +0 -0
  40. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/algorithm/__init__.py +0 -0
  41. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/algorithm/result/__init__.py +0 -0
  42. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/algorithm/tests/__init__.py +0 -0
  43. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/algorithm/tests/test_result_create.py +0 -0
  44. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/__init__.py +0 -0
  45. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/biomarker.py +0 -0
  46. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/member/__init__.py +0 -0
  47. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/member/report.py +0 -0
  48. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/tests/__init__.py +0 -0
  49. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/cohort/tests/test_delete.py +0 -0
  50. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/config.py +0 -0
  51. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/file.py +0 -0
  52. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/login.py +0 -0
  53. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/metadata/__init__.py +0 -0
  54. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/tests/__init__.py +0 -0
  55. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/tests/test_file.py +0 -0
  56. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/tests/test_variant.py +0 -0
  57. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/variant.py +0 -0
  58. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/commands/version.py +0 -0
  59. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/config/__init__.py +0 -0
  60. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/config/config.py +0 -0
  61. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/config/config_manager.py +0 -0
  62. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/__init__.py +0 -0
  63. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/api/__init__.py +0 -0
  64. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/api/client.py +0 -0
  65. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/checksum.py +0 -0
  66. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/deletion.py +0 -0
  67. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/network.py +0 -0
  68. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/slug.py +0 -0
  69. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/tests/__init__.py +0 -0
  70. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/tests/test_checksum.py +0 -0
  71. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/tests/test_network.py +0 -0
  72. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/tests/test_slug.py +0 -0
  73. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/types.py +0 -0
  74. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/core/upload.py +0 -0
  75. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/algorithm.py +0 -0
  76. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/algorithm_result.py +0 -0
  77. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/biomarker.py +0 -0
  78. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/config.py +0 -0
  79. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/decorators.py +0 -0
  80. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/file.py +0 -0
  81. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/formatter_registry.py +0 -0
  82. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/generic.py +0 -0
  83. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/generic_table.py +0 -0
  84. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/tests/__init__.py +0 -0
  85. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/tests/test_generic_table.py +0 -0
  86. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/tests/test_variant.py +0 -0
  87. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/utils.py +0 -0
  88. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/formatters/variant.py +0 -0
  89. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/settings.py +0 -0
  90. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/tests/__init__.py +0 -0
  91. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/tests/test_cli.py +0 -0
  92. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/types/__init__.py +0 -0
  93. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli/types/variant_range.py +0 -0
  94. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli.egg-info/dependency_links.txt +0 -0
  95. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli.egg-info/entry_points.txt +0 -0
  96. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/haplohub_cli.egg-info/top_level.txt +0 -0
  97. {haplohub_cli-3.3.0 → haplohub_cli-3.4.0}/setup.cfg +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haplohub-cli
3
- Version: 3.3.0
3
+ Version: 3.4.0
4
4
  Summary: HaploHub Command Line Interface
5
5
  Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
6
6
  Requires-Python: >=3.10
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: certifi>=2026.10.19
9
9
  Requires-Dist: click>=8.1.8
10
- Requires-Dist: haplohub<4,>=3.8.0
10
+ Requires-Dist: haplohub<4,>=3.10.0
11
11
  Requires-Dist: pendulum>=3.0.0
12
12
  Requires-Dist: requests>=2.32.0
13
13
  Requires-Dist: rich>=13.9.4
@@ -12,7 +12,7 @@ newer or older than the released SDK.
12
12
 
13
13
  ## Version constraint
14
14
 
15
- `pyproject.toml` pins a range like `haplohub>=3.8.0,<4`. Policy:
15
+ `pyproject.toml` pins a range like `haplohub>=3.10.0,<4`. Policy:
16
16
 
17
17
  - The lower bound is the oldest SDK release whose API surface this code uses.
18
18
  Raise it whenever code starts using something newer.
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '3.3.0'
22
- __version_tuple__ = version_tuple = (3, 3, 0)
21
+ __version__ = version = '3.4.0'
22
+ __version_tuple__ = version_tuple = (3, 4, 0)
23
23
 
24
- __commit_id__ = commit_id = 'ga6eca03c9'
24
+ __commit_id__ = commit_id = 'g10dac29ea'
@@ -1,10 +1,13 @@
1
1
  import click
2
- from haplohub import CreateSampleRequest, DeleteMode, UpdateSampleRequest
2
+ from haplohub import CreateSampleRequest, DeleteMode, GetSampleGenotypesRequest, UpdateSampleRequest
3
3
 
4
4
  from haplohub_cli.core import types
5
5
  from haplohub_cli.core.api.client import client
6
6
  from haplohub_cli.core.deletion import DELETE_MODE_CHOICES, DELETE_MODE_HELP, confirm_hard_delete
7
7
 
8
+ # The API's limit per genotypes request.
9
+ MAX_RS_IDS = 1000
10
+
8
11
 
9
12
  @click.group()
10
13
  def sample():
@@ -82,3 +85,19 @@ def update(id, cohort, member=None, member_external_id=None):
82
85
  member_external_id=member_external_id,
83
86
  )
84
87
  return client.sample.update_sample(cohort, id, request)
88
+
89
+
90
+ @sample.command()
91
+ @click.argument("id")
92
+ @click.option("--cohort", "-c", type=types.HAPLOHUB_ID, required=True)
93
+ @click.option("--rs-id", "-r", "rs_ids", type=str, multiple=True, required=True, help="rsID, as rs123 or 123 (repeatable)")
94
+ def genotypes(id, cohort, rs_ids):
95
+ """
96
+ Raw genotypes by rsID, read from the sample's uploaded SNP-array file.
97
+
98
+ Available seconds after a SNP-array upload, while ingestion is still running.
99
+ Not normalized, lifted over or imputed: use `variant` queries for the processed data.
100
+ """
101
+ if len(rs_ids) > MAX_RS_IDS:
102
+ raise click.BadParameter(f"at most {MAX_RS_IDS} rsIDs per call.", param_hint="--rs-id")
103
+ return client.sample.get_sample_genotypes(cohort, id, GetSampleGenotypesRequest(rs_ids=[*rs_ids]))
@@ -0,0 +1,38 @@
1
+ from unittest import TestCase
2
+ from unittest.mock import patch
3
+
4
+ from click.testing import CliRunner
5
+ from haplohub import GetSampleGenotypesRequest
6
+
7
+ from haplohub_cli.commands.cohort.sample import MAX_RS_IDS, sample
8
+
9
+ COHORT = "coh-abc123"
10
+ SAMPLE = "smp-abc123"
11
+
12
+
13
+ class SampleGenotypesCommandTestCase(TestCase):
14
+ def invoke(self, *args):
15
+ with patch("haplohub_cli.commands.cohort.sample.client") as client:
16
+ result = CliRunner().invoke(sample, ["genotypes", SAMPLE, "-c", COHORT, *args])
17
+ return result, client.sample.get_sample_genotypes
18
+
19
+ def test_passes_every_rs_id(self):
20
+ result, get_sample_genotypes = self.invoke("-r", "rs1", "--rs-id", "42")
21
+
22
+ self.assertEqual(result.exit_code, 0, result.output)
23
+ get_sample_genotypes.assert_called_once_with(COHORT, SAMPLE, GetSampleGenotypesRequest(rs_ids=["rs1", "42"]))
24
+
25
+ def test_requires_an_rs_id(self):
26
+ result, get_sample_genotypes = self.invoke()
27
+
28
+ self.assertEqual(result.exit_code, 2)
29
+ get_sample_genotypes.assert_not_called()
30
+
31
+ def test_rejects_more_rs_ids_than_the_api_takes(self):
32
+ args = [arg for i in range(MAX_RS_IDS + 1) for arg in ("-r", f"rs{i + 1}")]
33
+
34
+ result, get_sample_genotypes = self.invoke(*args)
35
+
36
+ self.assertEqual(result.exit_code, 2)
37
+ self.assertIn("at most 1000 rsIDs", result.output)
38
+ get_sample_genotypes.assert_not_called()
@@ -5,4 +5,5 @@ from .biomarker import *
5
5
  from .config import *
6
6
  from .file import *
7
7
  from .generic import *
8
+ from .genotype import *
8
9
  from .variant import *
@@ -0,0 +1,35 @@
1
+ from haplohub import GetSampleGenotypesResponse
2
+ from rich.table import Table
3
+
4
+ from haplohub_cli.formatters.decorators import register
5
+
6
+
7
+ @register(GetSampleGenotypesResponse)
8
+ def format_sample_genotypes(data: GetSampleGenotypesResponse):
9
+ if not data.available:
10
+ caption = "No raw genotypes for this sample: not a SNP-array upload, still loading, or the load failed."
11
+ elif data.not_found:
12
+ caption = f"Not on the array: {', '.join(data.not_found)}"
13
+ else:
14
+ caption = None
15
+ table = Table(title="Raw genotypes", caption=caption)
16
+ for column in ("rsID", "Genotype", "Chrom", "Position (GRCh38)", "Ref", "Alt", "Dosage"):
17
+ # Wrap rather than cut: a truncated rsID or position reads as a different one.
18
+ table.add_column(column, overflow="fold")
19
+
20
+ for item in data.items:
21
+ genotype = item.genotype or "[dim]no-call[/dim]"
22
+ if not item.variants:
23
+ table.add_row(item.rs_id, genotype, "", "", "", "", "")
24
+ for i, variant in enumerate(item.variants):
25
+ table.add_row(
26
+ item.rs_id if i == 0 else "",
27
+ genotype if i == 0 else "",
28
+ variant.chromosome,
29
+ str(variant.position_38),
30
+ variant.reference,
31
+ ", ".join(variant.alternates),
32
+ "" if variant.dosage is None else str(variant.dosage),
33
+ )
34
+
35
+ return table
@@ -0,0 +1,70 @@
1
+ from types import SimpleNamespace
2
+ from unittest import TestCase
3
+
4
+ from rich.console import Console
5
+
6
+ from haplohub_cli.formatters.genotype import format_sample_genotypes
7
+
8
+
9
+ def render(data, width=200) -> str:
10
+ console = Console(width=width, record=True)
11
+ console.print(format_sample_genotypes(data))
12
+ return console.export_text()
13
+
14
+
15
+ def placement(**fields):
16
+ return SimpleNamespace(
17
+ **{"chromosome": "22", "position_38": 15925391, "reference": "T", "alternates": ["A", "C"], "dosage": 2, **fields}
18
+ )
19
+
20
+
21
+ class FormatSampleGenotypesTestCase(TestCase):
22
+ def test_lists_calls_with_placements_and_missing_rsids(self):
23
+ data = SimpleNamespace(
24
+ items=[
25
+ SimpleNamespace(rs_id="rs738829", genotype="CC", variants=[placement()]),
26
+ SimpleNamespace(rs_id="rs2", genotype=None, variants=[]),
27
+ ],
28
+ available=True,
29
+ not_found=["rs404"],
30
+ )
31
+
32
+ output = render(data)
33
+
34
+ self.assertIn("rs738829", output)
35
+ self.assertIn("15925391", output)
36
+ self.assertIn("A, C", output)
37
+ self.assertIn("no-call", output)
38
+ self.assertIn("Not on the array: rs404", output)
39
+
40
+ def test_zero_dosage_is_shown_and_unknown_dosage_is_blank(self):
41
+ data = SimpleNamespace(
42
+ items=[
43
+ SimpleNamespace(rs_id="rs1", genotype="TT", variants=[placement(dosage=0)]),
44
+ SimpleNamespace(rs_id="rs3", genotype="DI", variants=[placement(dosage=None)]),
45
+ ],
46
+ available=True,
47
+ not_found=[],
48
+ )
49
+
50
+ rows = [line for line in render(data).splitlines() if "rs1 " in line or "rs3 " in line]
51
+
52
+ self.assertIn(" 0 ", rows[0])
53
+ self.assertNotRegex(rows[1], r"\s\d\s+│$")
54
+
55
+ def test_narrow_terminal_wraps_instead_of_truncating(self):
56
+ data = SimpleNamespace(
57
+ items=[SimpleNamespace(rs_id="rs738829", genotype="CC", variants=[placement()])], available=True, not_found=[]
58
+ )
59
+
60
+ output = render(data, width=60)
61
+
62
+ self.assertNotIn("…", output)
63
+
64
+ def test_says_when_the_sample_has_no_raw_genotypes(self):
65
+ output = render(SimpleNamespace(items=[], available=False, not_found=["rs1"]))
66
+
67
+ self.assertIn(
68
+ "No raw genotypes for this sample: not a SNP-array upload, still loading, or the load failed.",
69
+ " ".join(output.split()),
70
+ )
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haplohub-cli
3
- Version: 3.3.0
3
+ Version: 3.4.0
4
4
  Summary: HaploHub Command Line Interface
5
5
  Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
6
6
  Requires-Python: >=3.10
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: certifi>=2026.10.19
9
9
  Requires-Dist: click>=8.1.8
10
- Requires-Dist: haplohub<4,>=3.8.0
10
+ Requires-Dist: haplohub<4,>=3.10.0
11
11
  Requires-Dist: pendulum>=3.0.0
12
12
  Requires-Dist: requests>=2.32.0
13
13
  Requires-Dist: rich>=13.9.4
@@ -50,6 +50,7 @@ haplohub_cli/commands/cohort/member/__init__.py
50
50
  haplohub_cli/commands/cohort/member/report.py
51
51
  haplohub_cli/commands/cohort/tests/__init__.py
52
52
  haplohub_cli/commands/cohort/tests/test_delete.py
53
+ haplohub_cli/commands/cohort/tests/test_genotypes.py
53
54
  haplohub_cli/commands/metadata/__init__.py
54
55
  haplohub_cli/commands/tests/__init__.py
55
56
  haplohub_cli/commands/tests/test_file.py
@@ -80,10 +81,12 @@ haplohub_cli/formatters/file.py
80
81
  haplohub_cli/formatters/formatter_registry.py
81
82
  haplohub_cli/formatters/generic.py
82
83
  haplohub_cli/formatters/generic_table.py
84
+ haplohub_cli/formatters/genotype.py
83
85
  haplohub_cli/formatters/utils.py
84
86
  haplohub_cli/formatters/variant.py
85
87
  haplohub_cli/formatters/tests/__init__.py
86
88
  haplohub_cli/formatters/tests/test_generic_table.py
89
+ haplohub_cli/formatters/tests/test_genotype.py
87
90
  haplohub_cli/formatters/tests/test_variant.py
88
91
  haplohub_cli/tests/__init__.py
89
92
  haplohub_cli/tests/test_cli.py
@@ -1,6 +1,6 @@
1
1
  certifi>=2026.10.19
2
2
  click>=8.1.8
3
- haplohub<4,>=3.8.0
3
+ haplohub<4,>=3.10.0
4
4
  pendulum>=3.0.0
5
5
  requests>=2.32.0
6
6
  rich>=13.9.4
@@ -35,6 +35,7 @@
35
35
  "haplohub_cli/commands/cohort/sample.py",
36
36
  "haplohub_cli/commands/cohort/tests/__init__.py",
37
37
  "haplohub_cli/commands/cohort/tests/test_delete.py",
38
+ "haplohub_cli/commands/cohort/tests/test_genotypes.py",
38
39
  "haplohub_cli/commands/config.py",
39
40
  "haplohub_cli/commands/file.py",
40
41
  "haplohub_cli/commands/login.py",
@@ -70,8 +71,10 @@
70
71
  "haplohub_cli/formatters/formatter_registry.py",
71
72
  "haplohub_cli/formatters/generic.py",
72
73
  "haplohub_cli/formatters/generic_table.py",
74
+ "haplohub_cli/formatters/genotype.py",
73
75
  "haplohub_cli/formatters/tests/__init__.py",
74
76
  "haplohub_cli/formatters/tests/test_generic_table.py",
77
+ "haplohub_cli/formatters/tests/test_genotype.py",
75
78
  "haplohub_cli/formatters/tests/test_variant.py",
76
79
  "haplohub_cli/formatters/utils.py",
77
80
  "haplohub_cli/formatters/variant.py",
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "3.4.0",
3
+ "distance": 0,
4
+ "node": "g10dac29eaca434b04f51a12ae19f3e3682f9f72c",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-12-06"
8
+ }
@@ -11,7 +11,7 @@ dynamic = ["version"]
11
11
  dependencies = [
12
12
  "certifi>=2026.10.19",
13
13
  "click>=8.1.8",
14
- "haplohub>=3.8.0,<4",
14
+ "haplohub>=3.10.0,<4",
15
15
  "pendulum>=3.0.0",
16
16
  "requests>=2.32.0",
17
17
  "rich>=13.9.4",
@@ -1,5 +1,5 @@
1
1
  version = 1
2
- revision = 3
2
+ revision = 5
3
3
  requires-python = ">=3.10"
4
4
 
5
5
  [[package]]
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "3.3.0",
3
- "distance": 0,
4
- "node": "ga6eca03c932456a7e64d6f5eb18e50047a592d86",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-11-18"
8
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes