Skip to content

Add absolute paths to meta sources #2

@lrodrin

Description

@lrodrin

If we are working with a relative path, convert the input metadata sources paths to absolute paths for VRE tools executions.

So, it is needed to add a validation in:

else:
# Set input sources
meta_sources_list = list()
for input_name in input_metadata.keys():
meta_sources_list.append(input_metadata[input_name][1].file_path)
meta.sources = meta_sources_list
# Set metadata
meta.meta_data = metadata["file"].get("meta_data", None)
results.append(_newresult(role, path, meta))

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions