mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #881 from BigRoy/chore/extract_burning_missing_space
Chore: Extract Burnin typos/grammar fixes
This commit is contained in:
commit
cc38846a77
1 changed files with 17 additions and 10 deletions
|
|
@ -199,7 +199,7 @@ class ExtractBurnin(publish.Extractor):
|
||||||
if not burnins_per_repres:
|
if not burnins_per_repres:
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
"Skipped instance. No representations found matching a burnin"
|
"Skipped instance. No representations found matching a burnin"
|
||||||
"definition in: %s", burnin_defs
|
" definition in: %s", burnin_defs
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
@ -399,7 +399,7 @@ class ExtractBurnin(publish.Extractor):
|
||||||
|
|
||||||
add_repre_files_for_cleanup(instance, new_repre)
|
add_repre_files_for_cleanup(instance, new_repre)
|
||||||
|
|
||||||
# Cleanup temp staging dir after procesisng of output definitions
|
# Cleanup temp staging dir after processing of output definitions
|
||||||
if do_convert:
|
if do_convert:
|
||||||
temp_dir = repre["stagingDir"]
|
temp_dir = repre["stagingDir"]
|
||||||
shutil.rmtree(temp_dir)
|
shutil.rmtree(temp_dir)
|
||||||
|
|
@ -420,6 +420,12 @@ class ExtractBurnin(publish.Extractor):
|
||||||
self.log.debug("Removed: \"{}\"".format(filepath))
|
self.log.debug("Removed: \"{}\"".format(filepath))
|
||||||
|
|
||||||
def _get_burnin_options(self):
|
def _get_burnin_options(self):
|
||||||
|
"""Get the burnin options from `ExtractBurnin` settings.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
dict[str, Any]: Burnin options.
|
||||||
|
|
||||||
|
"""
|
||||||
# Prepare burnin options
|
# Prepare burnin options
|
||||||
burnin_options = copy.deepcopy(self.default_options)
|
burnin_options = copy.deepcopy(self.default_options)
|
||||||
if self.options:
|
if self.options:
|
||||||
|
|
@ -696,7 +702,7 @@ class ExtractBurnin(publish.Extractor):
|
||||||
"""Prepare data for representation.
|
"""Prepare data for representation.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
instance (Instance): Currently processed Instance.
|
instance (pyblish.api.Instance): Currently processed Instance.
|
||||||
repre (dict): Currently processed representation.
|
repre (dict): Currently processed representation.
|
||||||
burnin_data (dict): Copy of basic burnin data based on instance
|
burnin_data (dict): Copy of basic burnin data based on instance
|
||||||
data.
|
data.
|
||||||
|
|
@ -752,9 +758,11 @@ class ExtractBurnin(publish.Extractor):
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
profile (dict): Profile from presets matching current context.
|
profile (dict): Profile from presets matching current context.
|
||||||
|
instance (pyblish.api.Instance): Publish instance.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
list: Contain all valid output definitions.
|
list[dict[str, Any]]: Contain all valid output definitions.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
filtered_burnin_defs = []
|
filtered_burnin_defs = []
|
||||||
|
|
||||||
|
|
@ -773,12 +781,11 @@ class ExtractBurnin(publish.Extractor):
|
||||||
if not self.families_filter_validation(
|
if not self.families_filter_validation(
|
||||||
families, families_filters
|
families, families_filters
|
||||||
):
|
):
|
||||||
self.log.debug((
|
self.log.debug(
|
||||||
"Skipped burnin definition \"{}\". Family"
|
f"Skipped burnin definition \"{filename_suffix}\"."
|
||||||
" filters ({}) does not match current instance families: {}"
|
f" Family filters ({families_filters}) does not match"
|
||||||
).format(
|
f" current instance families: {families}"
|
||||||
filename_suffix, str(families_filters), str(families)
|
)
|
||||||
))
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Burnin values
|
# Burnin values
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue