loqusdb 2.7.8__py3-none-any.whl → 2.7.10__py3-none-any.whl

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.
loqusdb/__init__.py CHANGED
@@ -4,7 +4,7 @@ from pymongo import ASCENDING, IndexModel
4
4
 
5
5
  logger = logging.getLogger(__name__)
6
6
 
7
- __version__ = "2.7.7"
7
+ __version__ = "2.7.10"
8
8
 
9
9
  INDEXES = {
10
10
  "variant": [
@@ -6,15 +6,8 @@ from loqusdb.models import Case, Individual
6
6
  LOG = logging.getLogger(__name__)
7
7
 
8
8
 
9
- def get_individual_positions(individuals):
10
- """Return a dictionary with individual positions
11
-
12
- Args:
13
- individuals(list): A list with vcf individuals in correct order
14
-
15
- Returns:
16
- ind_pos(dict): Map from ind_id -> index position
17
- """
9
+ def get_individual_positions(individuals: list[str]) -> dict[str, int]:
10
+ """Return a dictionary with individual positions."""
18
11
  ind_pos = {}
19
12
  if individuals:
20
13
  for i, ind in enumerate(individuals):
@@ -35,7 +28,7 @@ def build_case(
35
28
  matches=None,
36
29
  profile_path=None,
37
30
  ):
38
- """Build a Case from the given information
31
+ """Build a Case from the given information.
39
32
 
40
33
  Args:
41
34
  case(ped_parser.Family): A family object
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: loqusdb
3
- Version: 2.7.8
3
+ Version: 2.7.10
4
4
  Summary: A simple observation count database
5
5
  License: MIT
6
6
  Author: Your Name
@@ -1,8 +1,8 @@
1
1
  README.md,sha256=0-XD0EEYvCnenT07wkO0ZX6lJbzN8OC1cV3M9G47nps,4648
2
- loqusdb/__init__.py,sha256=sFjIK3TyWddtJTl4jODvgEtOm7slGt7RgPCXQodzeUw,1687
2
+ loqusdb/__init__.py,sha256=kpB-4LlsICY9AfcuMV_bs-94IjgIkzfQr9yfPJizESk,1688
3
3
  loqusdb/__main__.py,sha256=8FGKySAGaWSzAYMj6HRsxeyiME3V01Idt7HrmN7pSYY,397
4
4
  loqusdb/build_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- loqusdb/build_models/case.py,sha256=P3sfQkI_fH8u5iqecYWhV866lcHz4upWkepaea5MMIw,4255
5
+ loqusdb/build_models/case.py,sha256=AByutEYK2N3kS9JFvyZfPKNZdCpZHCSD0nNHAgaU1Cs,4127
6
6
  loqusdb/build_models/profile_variant.py,sha256=TbSxfVjESstS_FgbkOW4NQwMQVeTyhn9oc9yPZmDhzI,1021
7
7
  loqusdb/build_models/variant.py,sha256=LviEaovB_s_-jaLM64x0NzqzilFr__NPgv4Vf49Rhbk,6939
8
8
  loqusdb/commands/__init__.py,sha256=BXAN3UADgqPrkGczzjlLO9GyyQ96dnLnP7n92JlYHgo,603
@@ -90,8 +90,8 @@ tests/vcf_tools/test_check_vcf.py,sha256=bTZQOSbhXthRDwTmcfvf4sW-DMUdlpM7bBSDsmX
90
90
  tests/vcf_tools/test_format_sv_variant.py,sha256=eeQ6XI6X2lNpsVaWecu5lfdRHrDh1XZvcz9UhL7j3qo,4375
91
91
  tests/vcf_tools/test_format_variant.py,sha256=CfgCnrS5OvuIcUOCTUGCiDRUelk3fZgT7YQAytNPvvM,4176
92
92
  tests/vcf_tools/test_vcf.py,sha256=Fc9tO1IgKFo_DCfj_GrsXGx9t_69xkWhn1ZCL7IXqLU,1563
93
- loqusdb-2.7.8.dist-info/LICENSE,sha256=urpFcJXw3elN9kV2fFutc-lXegjuu2lqP_GSy8_CAbs,1054
94
- loqusdb-2.7.8.dist-info/METADATA,sha256=UOIeCtiolAkOs_pt_-q0je9OTfjQHM2tSjo9wS8xdgE,5269
95
- loqusdb-2.7.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
96
- loqusdb-2.7.8.dist-info/entry_points.txt,sha256=wFoWzEFjsSgXkj9FMQA8C9ihZoJ9R1XvbGuX9hEEI6E,52
97
- loqusdb-2.7.8.dist-info/RECORD,,
93
+ loqusdb-2.7.10.dist-info/LICENSE,sha256=urpFcJXw3elN9kV2fFutc-lXegjuu2lqP_GSy8_CAbs,1054
94
+ loqusdb-2.7.10.dist-info/METADATA,sha256=gk9R2uviWXIKE3TkB40x0vTW4KLZvbL9Z-D2XoSNFqg,5270
95
+ loqusdb-2.7.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
96
+ loqusdb-2.7.10.dist-info/entry_points.txt,sha256=wFoWzEFjsSgXkj9FMQA8C9ihZoJ9R1XvbGuX9hEEI6E,52
97
+ loqusdb-2.7.10.dist-info/RECORD,,