File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 47
47
from .context import RuntimeContext # pylint: disable=unused-import
48
48
from .errors import WorkflowException
49
49
from .loghandler import _logger
50
+ from .pathmapper import get_listing
50
51
from .process import shortname , Process # pylint: disable=unused-import
51
52
from .stdfsaccess import StdFsAccess # pylint: disable=unused-import
52
53
from .utils import versionstring
@@ -703,6 +704,11 @@ def declare_artefact(self, value):
703
704
# FIXME: .listing might not be populated yet - hopefully
704
705
# a later call to this method will sort that
705
706
is_empty = True
707
+
708
+ if not "listing" in value :
709
+ assert self .research_object .make_fs_access
710
+ fsaccess = self .research_object .make_fs_access ("" )
711
+ get_listing (fsaccess , value )
706
712
for f in value .get ("listing" , []):
707
713
is_empty = False
708
714
# Declare child-artifacts
You can’t perform that action at this time.
0 commit comments