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 CHANGED
@@ -136,4 +136,4 @@ except BaseException:
136
136
 
137
137
  if MONAIEnvVars.debug():
138
138
  raise
139
- __commit_id__ = "707b23054025a26271e6ace9e9477801a71d8e0a"
139
+ __commit_id__ = "222d5094ac6ce07f68ce8b07100b0a517fd2506e"
monai/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-05-18T02:35:03+0000",
11
+ "date": "2025-05-25T02:37:26+0000",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "cc43efa2f524c91686c29a51b04e31e47206dec8",
15
- "version": "1.5.dev2520"
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.warn(f"Wrong format of cuda_visible_devices {cuda_visible_devices}, devices not set")
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.warn(f"property '{name}' already exists in the properties list, overriding it.")
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.warn(
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.warn(f"Logging file is set to {logging_file}, skipping logging.")
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.warn(f"Default logging file in {logging_file} does not exist, skipping logging.")
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.warn("No available properties had been set, skipping check.")
506
+ logger.warning("No available properties had been set, skipping check.")
507
507
  return None
508
508
  if ret:
509
- logger.warn(f"Loaded bundle does not contain the following required properties: {ret}")
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.warn(f"Loaded bundle defines the following optional properties with wrong ID: {wrong_props}")
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: monai-weekly
3
- Version: 1.5.dev2520
3
+ Version: 1.5.dev2521
4
4
  Summary: AI Toolkit for Healthcare Imaging
5
5
  Home-page: https://monai.io/
6
6
  Author: MONAI Consortium
@@ -1,5 +1,5 @@
1
- monai/__init__.py,sha256=kZDFttD2rvFD_euw09ICobt_wX4jw1k0qDTs3kCJyDE,4095
2
- monai/_version.py,sha256=sWFMjgtn66w242ewwqrmMrt1OTynXCSfg5N75J91qqc,503
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=a4Ry93TkK0aTb68bwle8HoG4SzUbUf0IbDrY33jTReg,40106
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=6OUyC0a_hsG5yGe-uVvFNeHzjf4W86NHu-XNGuNkdZo,33179
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.dev2520.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
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.dev2520.dist-info/METADATA,sha256=cEQRrwHZy0OXogNJ_cv8V4R0rgImFPY_Cqbs3ysjtvQ,12033
1193
- monai_weekly-1.5.dev2520.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
1194
- monai_weekly-1.5.dev2520.dist-info/top_level.txt,sha256=hn2Y6P9xBf2R8faMeVMHhPMvrdDKxMsIOwMDYI0yTjs,12
1195
- monai_weekly-1.5.dev2520.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5