monai-weekly 1.5.dev2520__py3-none-any.whl → 1.5.dev2521__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.
- monai/__init__.py +1 -1
- monai/_version.py +3 -3
- monai/apps/auto3dseg/auto_runner.py +1 -1
- monai/bundle/workflows.py +7 -7
- {monai_weekly-1.5.dev2520.dist-info → monai_weekly-1.5.dev2521.dist-info}/METADATA +1 -1
- {monai_weekly-1.5.dev2520.dist-info → monai_weekly-1.5.dev2521.dist-info}/RECORD +9 -9
- {monai_weekly-1.5.dev2520.dist-info → monai_weekly-1.5.dev2521.dist-info}/WHEEL +1 -1
- {monai_weekly-1.5.dev2520.dist-info → monai_weekly-1.5.dev2521.dist-info}/licenses/LICENSE +0 -0
- {monai_weekly-1.5.dev2520.dist-info → monai_weekly-1.5.dev2521.dist-info}/top_level.txt +0 -0
monai/__init__.py
CHANGED
monai/_version.py
CHANGED
@@ -8,11 +8,11 @@ import json
|
|
8
8
|
|
9
9
|
version_json = '''
|
10
10
|
{
|
11
|
-
"date": "2025-05-
|
11
|
+
"date": "2025-05-25T02:37:26+0000",
|
12
12
|
"dirty": false,
|
13
13
|
"error": null,
|
14
|
-
"full-revisionid": "
|
15
|
-
"version": "1.5.
|
14
|
+
"full-revisionid": "b82b3ff93efc25aff2eee158e3acaab717973590",
|
15
|
+
"version": "1.5.dev2521"
|
16
16
|
}
|
17
17
|
''' # END VERSION_JSON
|
18
18
|
|
@@ -570,7 +570,7 @@ class AutoRunner:
|
|
570
570
|
self.device_setting["CUDA_VISIBLE_DEVICES"] = ",".join([str(x) for x in cuda_visible_devices])
|
571
571
|
self.device_setting["n_devices"] = len(cuda_visible_devices)
|
572
572
|
else:
|
573
|
-
logger.
|
573
|
+
logger.warning(f"Wrong format of cuda_visible_devices {cuda_visible_devices}, devices not set")
|
574
574
|
|
575
575
|
if num_nodes is None:
|
576
576
|
num_nodes = int(os.environ.get("NUM_NODES", 1))
|
monai/bundle/workflows.py
CHANGED
@@ -226,7 +226,7 @@ class BundleWorkflow(ABC):
|
|
226
226
|
if self.properties is None:
|
227
227
|
self.properties = {}
|
228
228
|
if name in self.properties:
|
229
|
-
logger.
|
229
|
+
logger.warning(f"property '{name}' already exists in the properties list, overriding it.")
|
230
230
|
self.properties[name] = {BundleProperty.DESC: desc, BundleProperty.REQUIRED: required}
|
231
231
|
|
232
232
|
def check_properties(self) -> list[str] | None:
|
@@ -421,7 +421,7 @@ class ConfigWorkflow(BundleWorkflow):
|
|
421
421
|
for _config_file in _config_files:
|
422
422
|
_config_file = Path(_config_file)
|
423
423
|
if _config_file.parent != config_root_path:
|
424
|
-
logger.
|
424
|
+
logger.warning(
|
425
425
|
f"Not all config files are in {config_root_path}. If logging_file and meta_file are"
|
426
426
|
f"not specified, {config_root_path} will be used as the default config root directory."
|
427
427
|
)
|
@@ -434,11 +434,11 @@ class ConfigWorkflow(BundleWorkflow):
|
|
434
434
|
self.config_root_path = config_root_path
|
435
435
|
logging_file = str(self.config_root_path / "logging.conf") if logging_file is None else logging_file
|
436
436
|
if logging_file is False:
|
437
|
-
logger.
|
437
|
+
logger.warning(f"Logging file is set to {logging_file}, skipping logging.")
|
438
438
|
else:
|
439
439
|
if not os.path.isfile(logging_file):
|
440
440
|
if logging_file == str(self.config_root_path / "logging.conf"):
|
441
|
-
logger.
|
441
|
+
logger.warning(f"Default logging file in {logging_file} does not exist, skipping logging.")
|
442
442
|
else:
|
443
443
|
raise FileNotFoundError(f"Cannot find the logging config file: {logging_file}.")
|
444
444
|
else:
|
@@ -503,17 +503,17 @@ class ConfigWorkflow(BundleWorkflow):
|
|
503
503
|
"""
|
504
504
|
ret = super().check_properties()
|
505
505
|
if self.properties is None:
|
506
|
-
logger.
|
506
|
+
logger.warning("No available properties had been set, skipping check.")
|
507
507
|
return None
|
508
508
|
if ret:
|
509
|
-
logger.
|
509
|
+
logger.warning(f"Loaded bundle does not contain the following required properties: {ret}")
|
510
510
|
# also check whether the optional properties use correct ID name if existing
|
511
511
|
wrong_props = []
|
512
512
|
for n, p in self.properties.items():
|
513
513
|
if not p.get(BundleProperty.REQUIRED, False) and not self._check_optional_id(name=n, property=p):
|
514
514
|
wrong_props.append(n)
|
515
515
|
if wrong_props:
|
516
|
-
logger.
|
516
|
+
logger.warning(f"Loaded bundle defines the following optional properties with wrong ID: {wrong_props}")
|
517
517
|
if ret is not None:
|
518
518
|
ret.extend(wrong_props)
|
519
519
|
return ret
|
@@ -1,5 +1,5 @@
|
|
1
|
-
monai/__init__.py,sha256=
|
2
|
-
monai/_version.py,sha256=
|
1
|
+
monai/__init__.py,sha256=0oI9wDt1DDKPLqB0ZYtLX6PJxGhcLlKv38t3wsrg7aQ,4095
|
2
|
+
monai/_version.py,sha256=iCrMQdxtRTq_xr7ATYU7pyuyBg-64AXid_jWWAwcZ9g,503
|
3
3
|
monai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
monai/_extensions/__init__.py,sha256=NEBPreRhQ8H9gVvgrLr_y52_TmqB96u_u4VQmeNT93I,642
|
5
5
|
monai/_extensions/loader.py,sha256=7SiKw36q-nOzH8CRbBurFrz7GM40GCu7rc93Tm8XpnI,3643
|
@@ -13,7 +13,7 @@ monai/apps/datasets.py,sha256=msT58BoHlQFQpD4Tx-CThwAkkaUowoNZOgcH0THg0u0,35085
|
|
13
13
|
monai/apps/utils.py,sha256=kJ200fyf_folGggBd2VK_CXjiDVMIAxaB6wxTj4NvBI,16099
|
14
14
|
monai/apps/auto3dseg/__init__.py,sha256=DhUB2Ol0-iNAk1ZNmD1RkTODUOhdiibv8h9MgcLuF6s,1016
|
15
15
|
monai/apps/auto3dseg/__main__.py,sha256=fCDhD8uhmJQKkKBxLO6hMJhEvZJRIsjTc1Ad3bYmNIY,1411
|
16
|
-
monai/apps/auto3dseg/auto_runner.py,sha256=
|
16
|
+
monai/apps/auto3dseg/auto_runner.py,sha256=UBdHOfdq3AbhltjnZ3xoiQLmBjZenAO2M-8akFPP320,40109
|
17
17
|
monai/apps/auto3dseg/bundle_gen.py,sha256=y_9lbw0xk1em0TsIn7mTJHmD3OQNcNZVsjgkhdYg0Lw,28994
|
18
18
|
monai/apps/auto3dseg/data_analyzer.py,sha256=XJuQ-bSE3G_6r2i6S75jjo-klWTUGpy5aY3WqijSWqk,18628
|
19
19
|
monai/apps/auto3dseg/ensemble_builder.py,sha256=GaLpeAIW5X9oC921cevE86coOsmXW2C136FHuo6UyMo,27277
|
@@ -117,7 +117,7 @@ monai/bundle/properties.py,sha256=iN3K4FVmN9ny1Hw9p5j7_ULcCdSD8PmrR7qXxbNz49k,11
|
|
117
117
|
monai/bundle/reference_resolver.py,sha256=GXCMK4iogxxE6VocsmAbUrcXosmC5arnjeG9zYhHKpg,16748
|
118
118
|
monai/bundle/scripts.py,sha256=ZFNlQf2R2XOyRnZciuxsYlx_-GKmVQvnnOGKbL16OPM,89560
|
119
119
|
monai/bundle/utils.py,sha256=t-22uFvLn7Yy-dr1v1U33peNOxgAmU4TJiGAbsBrUKs,10108
|
120
|
-
monai/bundle/workflows.py,sha256=
|
120
|
+
monai/bundle/workflows.py,sha256=iuiUHaUQ1DXcOZ7jO0c9yeNaES5PoYWC1zc4Fgvg5yo,33200
|
121
121
|
monai/config/__init__.py,sha256=CN28CfTdsp301gv8YXfVvkbztCfbAqrLKrJi_C8oP9s,1048
|
122
122
|
monai/config/deviceconfig.py,sha256=f3Xa0OL9kNqdsbZ0PfUEvm6NZivAPh454_VCE8BmsWE,10582
|
123
123
|
monai/config/type_definitions.py,sha256=a8_YmLkVOeldchAS6cM3KiG9n9YixkXHoyYo1XoskMI,3512
|
@@ -426,7 +426,7 @@ monai/visualize/img2tensorboard.py,sha256=n4ztSa5BQAUxSTGvi2tp45v-F7-RNgSlbsdy-9
|
|
426
426
|
monai/visualize/occlusion_sensitivity.py,sha256=0SwhLO7ePDfIXJj67_UmXDZLxXItMeM-uNrPaCE0xXg,18159
|
427
427
|
monai/visualize/utils.py,sha256=B-MhTVs7sQbIqYS3yPnpBwPw2K82rE2PBtGIfpwZtWM,9894
|
428
428
|
monai/visualize/visualizer.py,sha256=qckyaMZCbezYUwE20k5yc-Pb7UozVavMDbrmyQwfYHY,1377
|
429
|
-
monai_weekly-1.5.
|
429
|
+
monai_weekly-1.5.dev2521.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
430
430
|
tests/apps/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
431
431
|
tests/apps/test_auto3dseg_bundlegen.py,sha256=FpTJo9Lfe8vdhGuWeZ9y1BQmqYwTt-s8mDVtoLGAz_I,5594
|
432
432
|
tests/apps/test_check_hash.py,sha256=MuZslW2DDCxHKEo6-PiL7hnbxGuZRRYf6HOh3ZQv1qQ,1761
|
@@ -1189,7 +1189,7 @@ tests/visualize/test_vis_gradcam.py,sha256=WpA-pvTB75eZs7JoIc5qyvOV9PwgkzWI8-Vow
|
|
1189
1189
|
tests/visualize/utils/__init__.py,sha256=s9djSd6kvViPnFvMR11Dgd30Lv4oY6FaPJr4ZZJZLq0,573
|
1190
1190
|
tests/visualize/utils/test_blend_images.py,sha256=RVs2p_8RWQDfhLHDNNtZaMig27v8o0km7XxNa-zWjKE,2274
|
1191
1191
|
tests/visualize/utils/test_matshow3d.py,sha256=wXYj77L5Jvnp0f6DvL1rsi_-YlCxS0HJ9hiPmrbpuP8,5021
|
1192
|
-
monai_weekly-1.5.
|
1193
|
-
monai_weekly-1.5.
|
1194
|
-
monai_weekly-1.5.
|
1195
|
-
monai_weekly-1.5.
|
1192
|
+
monai_weekly-1.5.dev2521.dist-info/METADATA,sha256=XhDzd0-niJZ3AvX990KJ8IZ-xOwEFanBCfNyUrGab80,12033
|
1193
|
+
monai_weekly-1.5.dev2521.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
1194
|
+
monai_weekly-1.5.dev2521.dist-info/top_level.txt,sha256=hn2Y6P9xBf2R8faMeVMHhPMvrdDKxMsIOwMDYI0yTjs,12
|
1195
|
+
monai_weekly-1.5.dev2521.dist-info/RECORD,,
|
File without changes
|
File without changes
|