mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Changed error message for not finding any collection
This commit is contained in:
parent
d27d3435d9
commit
ca07d56255
1 changed files with 4 additions and 2 deletions
|
|
@ -46,8 +46,10 @@ class ValidateSequenceFrames(pyblish.api.InstancePlugin):
|
|||
f"Invalid files: {remainder}")
|
||||
if not collections:
|
||||
raise PublishValidationError(
|
||||
"No collections found. There should be a single "
|
||||
"collection per representation.")
|
||||
"We have been unable to find a sequence in the "
|
||||
"files. Please ensure the files are named "
|
||||
"appropriately. "
|
||||
f"Files: {repr_files}")
|
||||
if len(collections) > 1:
|
||||
raise PublishValidationError(
|
||||
"Multiple collections detected. There should be a single "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue