mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Shush the hound
This commit is contained in:
parent
b4ae58634d
commit
12ea12c2de
3 changed files with 6 additions and 7 deletions
|
|
@ -149,7 +149,7 @@ class CollectNukeWrites(pyblish.api.InstancePlugin,
|
|||
# Farm rendering
|
||||
instance.data["toBeRenderedOn"] = "deadline"
|
||||
instance.data["transfer"] = False
|
||||
instance.data["farm"] = True # to skip integrate
|
||||
instance.data["farm"] = True # to skip integrate
|
||||
self.log.info("Farm rendering ON ...")
|
||||
|
||||
self.log.info(
|
||||
|
|
@ -159,7 +159,9 @@ class CollectNukeWrites(pyblish.api.InstancePlugin,
|
|||
if "expectedFiles" not in instance.data:
|
||||
instance.data["expectedFiles"] = list()
|
||||
for source_file in collected_frames:
|
||||
instance.data["expectedFiles"].append(os.path.join(output_dir, source_file))
|
||||
instance.data["expectedFiles"].append(
|
||||
os.path.join(output_dir, source_file)
|
||||
)
|
||||
|
||||
elif render_target == "farm":
|
||||
farm_keys = ["farm_chunk", "farm_priority", "farm_concurrency"]
|
||||
|
|
|
|||
|
|
@ -872,7 +872,6 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin,
|
|||
"multipartExr": data.get("multipartExr", False),
|
||||
"jobBatchName": data.get("jobBatchName", ""),
|
||||
"useSequenceForReview": data.get("useSequenceForReview", True),
|
||||
"colorspace": data.get("colorspace"),
|
||||
# map inputVersions `ObjectId` -> `str` so json supports it
|
||||
"inputVersions": list(map(str, data.get("inputVersions", []))),
|
||||
"colorspace": instance.data.get("colorspace")
|
||||
|
|
@ -886,7 +885,6 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin,
|
|||
# transfer specific families from original instance to new render
|
||||
for item in self.families_transfer:
|
||||
if item in instance.data.get("families", []):
|
||||
self.log.debug("Transfering '%s' family to instance.", item)
|
||||
instance_skeleton_data["families"] += [item]
|
||||
|
||||
# transfer specific properties from original instance based on
|
||||
|
|
@ -894,7 +892,6 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin,
|
|||
for key, values in self.instance_transfer.items():
|
||||
if key in instance.data.get("families", []):
|
||||
for v in values:
|
||||
self.log.debug("Transfering '%s' property to instance.", v)
|
||||
instance_skeleton_data[v] = instance.data.get(v)
|
||||
|
||||
# look into instance data if representations are not having any
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ class ValidateExpectedFiles(pyblish.api.InstancePlugin):
|
|||
|
||||
def process(self, instance):
|
||||
self.instance = instance
|
||||
# TODO: Find a better way to check whether a job has been submitted with
|
||||
# existing frames
|
||||
# TODO: Find a better way to check whether a job has been submitted
|
||||
# with existing frames
|
||||
if not instance.data["render_job_id"]:
|
||||
return
|
||||
frame_list = self._get_frame_list(instance.data["render_job_id"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue