runem 0.0.12__py3-none-any.whl → 0.0.13__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.
runem/runem.py CHANGED
@@ -706,9 +706,19 @@ def get_test_function(job_config: JobConfig, cfg_filepath: pathlib.Path) -> JobF
706
706
  Also re-address the job-config.
707
707
  """
708
708
  function_to_load: str = job_config["addr"]["function"]
709
- module_file_path: pathlib.Path = _find_job_module(
710
- cfg_filepath, job_config["addr"]["file"]
711
- )
709
+ try:
710
+ module_file_path: pathlib.Path = _find_job_module(
711
+ cfg_filepath, job_config["addr"]["file"]
712
+ )
713
+ except FunctionNotFound as err:
714
+ raise FunctionNotFound(
715
+ (
716
+ f"Whilst loading job '{job_config['label']}' runem failed to find "
717
+ f"job.addr.file '{job_config['addr']['file']}' looking for "
718
+ f"job.addr.function '{function_to_load}'"
719
+ )
720
+ ) from err
721
+
712
722
  module_name = module_file_path.stem.replace(" ", "_").replace("-", "_")
713
723
 
714
724
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: runem
3
- Version: 0.0.12
3
+ Version: 0.0.13
4
4
  Summary: Awesome runem created by lursight
5
5
  Home-page: https://github.com/lursight/runem/
6
6
  Author: lursight
@@ -4,11 +4,11 @@ runem/base.py,sha256=EZfR7FIlwEdU9Vfe47Wk2DOO8GQqpKxxLNKp6YHueZ4,316
4
4
  runem/cli.py,sha256=YFwon1P7uSpAYNuJxe2f0wo0HpI3OYTQ-UBWx6xU1iY,145
5
5
  runem/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  runem/run_command.py,sha256=eYArn2gwPOTHID2040NxLoaM7yrvPnaWgWvPreRhrm0,3685
7
- runem/runem.py,sha256=VRhPHILt-3mmbsy6CJVI8J4HUitf_8cyEJDwDQNi0-E,35440
7
+ runem/runem.py,sha256=AXBSnTse_TBWf0dOEyAVOGOrpbCrr3yy0Dgt6b-b-fQ,35796
8
8
  scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- runem-0.0.12.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
10
- runem-0.0.12.dist-info/METADATA,sha256=KqHFpygzEOAL83Ey6aqln35jclWlUfgqpDxn4aKKViU,15909
11
- runem-0.0.12.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
12
- runem-0.0.12.dist-info/entry_points.txt,sha256=nu0g_vBeuPihYtimbtlNusxWovylMppvJ8UxdJlJfvM,46
13
- runem-0.0.12.dist-info/top_level.txt,sha256=rd8MZEjuPdjwXuLZlbdZEg8_WGxrY1c8M36uHjNjbNk,14
14
- runem-0.0.12.dist-info/RECORD,,
9
+ runem-0.0.13.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
10
+ runem-0.0.13.dist-info/METADATA,sha256=JE1cGOxKcT39PiEPm2UtHxB9LG9ROTaXfB1CArcnKgY,15909
11
+ runem-0.0.13.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
12
+ runem-0.0.13.dist-info/entry_points.txt,sha256=nu0g_vBeuPihYtimbtlNusxWovylMppvJ8UxdJlJfvM,46
13
+ runem-0.0.13.dist-info/top_level.txt,sha256=rd8MZEjuPdjwXuLZlbdZEg8_WGxrY1c8M36uHjNjbNk,14
14
+ runem-0.0.13.dist-info/RECORD,,
File without changes