Skip to content

Commit 490b2c6

Browse files
committed
comments change
Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent 39117b1 commit 490b2c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monai/deploy/operators/decoder_nvimgcodec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
NVIMGCODEC_MODULE_NAME = "nvidia.nvimgcodec" # from nvidia-nvimgcodec-cu12 or other variants
9494
NVIMGCODEC_MIN_VERSION = "0.6"
9595
NVIMGCODEC_MIN_VERSION_TUPLE = tuple(int(x) for x in NVIMGCODEC_MIN_VERSION.split("."))
96-
NVIMGCODEC_PLUGIN_LABEL = "0.6+nvimgcodec" # helps sorting to be the first in the plugin list
96+
NVIMGCODEC_PLUGIN_LABEL = "0.6+nvimgcodec" # to be sorted to first in ascending order of plugins
9797
NVIMGCODEC_PLUGIN_FUNC_NAME = "_decode_frame"
9898

9999
# Supported decoder classes of the corresponding transfer syntaxes by this decoder plugin.
@@ -240,7 +240,7 @@ def register_as_decoder_plugin(module_path: str | None = None) -> bool:
240240
decoder_class._available = dict(sorted(decoder_class._available.items(), key=lambda item: item[0]))
241241
_logger.info(
242242
f"Registered decoder plugin {NVIMGCODEC_PLUGIN_LABEL} for transfer syntax {decoder_class.UID}: "
243-
f"{decoder_class.available_plugins}"
243+
f"{decoder_class._available}"
244244
)
245245
_logger.info(f"Registered nvimgcodec decoder plugin with {len(SUPPORTED_DECODER_CLASSES)} decoder classes.")
246246

0 commit comments

Comments
 (0)