pheval 0.5.3__py3-none-any.whl → 0.5.4__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.

Potentially problematic release.


This version of pheval might be problematic. Click here for more details.

@@ -151,6 +151,10 @@ def create_empty_pheval_result(
151
151
  """
152
152
  if result_type in executed_results:
153
153
  return
154
+ logger.info(
155
+ f"Writing classified results for {len(all_files(phenopacket_dir))} "
156
+ f"phenopackets to {output_dir}"
157
+ )
154
158
  executed_results.add(result_type)
155
159
  phenopacket_truth_set = PhenopacketTruthSet(phenopacket_dir)
156
160
  classify_method, write_method = _get_result_type(result_type, phenopacket_truth_set)
@@ -180,10 +184,6 @@ def generate_gene_result(
180
184
  phenopacket_dir (Path): Path to the Phenopacket directory
181
185
  """
182
186
  output_file = output_dir.joinpath(f"pheval_gene_results/{result_path.stem}-gene_result.parquet")
183
- logger.info(
184
- f"Writing classified results for {len(all_files(phenopacket_dir))} "
185
- f"phenopackets to {output_dir.joinpath('pheval_gene_results')}"
186
- )
187
187
  create_empty_pheval_result(
188
188
  phenopacket_dir, output_dir.joinpath("pheval_gene_results"), ResultType.GENE
189
189
  )
@@ -214,10 +214,6 @@ def generate_variant_result(
214
214
  output_file = output_dir.joinpath(
215
215
  f"pheval_variant_results/{result_path.stem}-variant_result.parquet"
216
216
  )
217
- logger.info(
218
- f"Writing classified results for {len(all_files(phenopacket_dir))} "
219
- f"phenopackets to {output_dir.joinpath('pheval_variant_results')}"
220
- )
221
217
  create_empty_pheval_result(
222
218
  phenopacket_dir, output_dir.joinpath("pheval_variant_results"), ResultType.VARIANT
223
219
  )
@@ -250,10 +246,6 @@ def generate_disease_result(
250
246
  output_file = output_dir.joinpath(
251
247
  f"pheval_disease_results/{result_path.stem}-disease_result.parquet"
252
248
  )
253
- logger.info(
254
- f"Writing classified results for {len(all_files(phenopacket_dir))} "
255
- f"phenopackets to {output_dir.joinpath('pheval_disease_results')}"
256
- )
257
249
  create_empty_pheval_result(
258
250
  phenopacket_dir, output_dir.joinpath("pheval_disease_results"), ResultType.DISEASE
259
251
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pheval
3
- Version: 0.5.3
3
+ Version: 0.5.4
4
4
  Summary:
5
5
  Author: Yasemin Bridges
6
6
  Author-email: y.bridges@qmul.ac.uk
@@ -18,7 +18,7 @@ pheval/infra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  pheval/infra/exomiserdb.py,sha256=pM9-TfjrgurtH4OtM1Enk5oVhIxGQN3rKRlrxHuObTM,5080
19
19
  pheval/post_processing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  pheval/post_processing/phenopacket_truth_set.py,sha256=EvpfS0NJpcipI1muCtB0PBUghXtktln9vF5PUk57wSM,9412
21
- pheval/post_processing/post_processing.py,sha256=_9hvNsUKaQc79EA5SrIjWPxSCnx92mhQtlKV20hth5w,9600
21
+ pheval/post_processing/post_processing.py,sha256=Dz_aACNUUG4lw4bCjcIoDRvsZkuemJS4UWnrw_I6qIM,9218
22
22
  pheval/post_processing/validate_result_format.py,sha256=rRlVVIT5ZtdD_Qi0tQVqRSghCrxEDZCKImtw1ygcbtA,2927
23
23
  pheval/prepare/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  pheval/prepare/create_noisy_phenopackets.py,sha256=kYFwQjBJN6gla2I51X3zfucVmnRB7kwH2uqi1ElWzkg,12291
@@ -46,8 +46,8 @@ pheval/utils/logger.py,sha256=5DZl5uMltUDQorhkvg_B7_ZhFwApAmEkWneFIOKfRGQ,1566
46
46
  pheval/utils/phenopacket_utils.py,sha256=XGnFLarvXezFR0W5frzyGTwEbhcA3zuGJPg1r5YBscg,27326
47
47
  pheval/utils/semsim_utils.py,sha256=s7ZCR2VfPYnOh7ApX6rv66eGoVSm9QJaVYOWBEhlXpo,6151
48
48
  pheval/utils/utils.py,sha256=9V6vCT8l1g4O2-ZATYqsVyd7AYZdWGd-Ksy7_oIC3eE,2343
49
- pheval-0.5.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
50
- pheval-0.5.3.dist-info/METADATA,sha256=aoc8FlOraZ8P8ue52XXrsuStu-E7N3-0CpTcCH9LArc,6494
51
- pheval-0.5.3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
52
- pheval-0.5.3.dist-info/entry_points.txt,sha256=o9gSwDkvT4-lqKy4mlsftd1nzP9WUOXQCfnbqycURd0,81
53
- pheval-0.5.3.dist-info/RECORD,,
49
+ pheval-0.5.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
50
+ pheval-0.5.4.dist-info/METADATA,sha256=ICKZja5aFzysmPtQHVLfMb6D5J43nRsPPUeYNLDcoKI,6494
51
+ pheval-0.5.4.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
52
+ pheval-0.5.4.dist-info/entry_points.txt,sha256=o9gSwDkvT4-lqKy4mlsftd1nzP9WUOXQCfnbqycURd0,81
53
+ pheval-0.5.4.dist-info/RECORD,,
File without changes