mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
hound
This commit is contained in:
parent
ca0e6592db
commit
df81486d30
2 changed files with 5 additions and 9 deletions
|
|
@ -25,18 +25,14 @@ class CollectFrameTagInstances(pyblish.api.ContextPlugin):
|
|||
|
||||
# collect all sequence tags
|
||||
subset_data = self._create_frame_subset_data_sequence(context)
|
||||
|
||||
self.log.debug("__ subset_data: {}".format(
|
||||
pformat(subset_data)
|
||||
))
|
||||
|
||||
# if sequence tags and frame type then create instances
|
||||
# create instances
|
||||
self._create_instances(subset_data)
|
||||
|
||||
# collect all instance tags
|
||||
## if instance tags and frame type then create instances
|
||||
|
||||
pass
|
||||
|
||||
def _get_tag_data(self, tag):
|
||||
data = {}
|
||||
|
||||
|
|
@ -61,7 +57,7 @@ class CollectFrameTagInstances(pyblish.api.ContextPlugin):
|
|||
value = v
|
||||
else:
|
||||
value = ast.literal_eval(v)
|
||||
except (ValueError, SyntaxError) as msg:
|
||||
except (ValueError, SyntaxError):
|
||||
value = v
|
||||
|
||||
data[key] = value
|
||||
|
|
@ -85,7 +81,7 @@ class CollectFrameTagInstances(pyblish.api.ContextPlugin):
|
|||
tag_data = self._get_tag_data(tag)
|
||||
self.log.debug("__ tag_data: {}".format(
|
||||
pformat(tag_data)
|
||||
))
|
||||
))
|
||||
if not tag_data:
|
||||
continue
|
||||
|
||||
|
|
|
|||
|
|
@ -79,4 +79,4 @@ class ExtractFrames(openpype.api.Extractor):
|
|||
"files": [os.path.basename(x) for x in files],
|
||||
"stagingDir": staging_dir
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue