docstring tweaks

This commit is contained in:
Kayla Man 2023-09-28 19:20:37 +08:00
parent 973e4804d5
commit 356f05ff91
3 changed files with 6 additions and 5 deletions

View file

@ -3433,7 +3433,7 @@ def get_head_filename_without_hashes(original_path, name):
Examples:
>>> get_head_filename_without_hashes("render.####.exr", "baking")
render.baking.####.exr
>>> get_head_filename_without_hashes("render.%d.exr", "tag")
>>> get_head_filename_without_hashes("render.%04d.exr", "tag")
render.tag.%d.exr
>>> get_head_filename_without_hashes("exr.####.exr", "foo")
exr.foo.%04d.exr

View file

@ -9,7 +9,7 @@ from openpype.hosts.nuke.api.lib import maintained_selection
class ExtractReviewDataBakingStreams(publish.Extractor):
"""Extracts movie and thumbnail with baked in luts
"""Extracts Sequences and thumbnail with baked in luts
must be run after extract_render_local.py
@ -27,8 +27,8 @@ class ExtractReviewDataBakingStreams(publish.Extractor):
@classmethod
def apply_settings(cls, project_settings):
"""just in case there are some old presets
in deprecated ExtractReviewDataMov Plugins
"""Apply the settings from the deprecated
ExtractReviewDataMov plugin for backwards compatibility
"""
nuke_publish = project_settings["nuke"]["publish"]
deprecated_setting = nuke_publish["ExtractReviewDataMov"]

View file

@ -749,7 +749,8 @@ def _convert_nuke_project_settings(ayon_settings, output):
new_review_data_outputs = {}
outputs_settings = None
# just in case that the users having old presets in outputs setting
# Check deprecated ExtractReviewDataMov
# settings for backwards compatibility
deprecrated_review_settings = ayon_publish["ExtractReviewDataMov"]
current_review_settings = (
ayon_publish["ExtractReviewDataBakingStreams"]