Skip to content
Snippets Groups Projects
Commit 04aea7e6 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

feat(log): pass full log when legacy

parent d2f59d7a
No related branches found
No related tags found
No related merge requests found
......@@ -168,8 +168,9 @@ def get_meta_swainlab(parsed_metadata: dict):
def get_meta_from_legacy(parsed_metadata: dict):
channels = parsed_metadata["channels/channel"]
return {"channels": channels}
result = parsed_metadata
result["channels"] = result["channels/channel"]
return result
def parse_swainlab_metadata(filedir: t.Union[str, PosixPath]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment