Multiple calls to _validate_ in plugin

Hi,

I have a multiple file directory format inheriting from qiime2.plugin.model.DirectoryFormat.
The framework is invoking the _validate_ method twice when I output to this format. I am wondering if this is by design or if I have somehow triggered this by something that I have done?

My _validate_ method is a little bit slow so I am a bit concerned by the multiple invocations !

Could I please get some insight into what might be going on here?

Thank you!

Hi @mroper,

It's hard to say exactly what's happening with your validation method without seeing the construction of your directory format. Can you provide a link to your Github where this is located, or share code blocks that contain your validation method and format construction? You're welcome to send me a private message as well if you don't want to share these publicly yet!

Cheers :lizard: