Commit 300ffecd authored by BorjaEst's avatar BorjaEst
Browse files

Integration of dictr merging in sources metadata

parent 1cfffc69
...@@ -89,9 +89,8 @@ class Source: ...@@ -89,9 +89,8 @@ class Source:
os.makedirs(dirname, exist_ok=True) os.makedirs(dirname, exist_ok=True)"Skimming data from '%s'", dirname)"Skimming data from '%s'", dirname)
with with
source_metadata = self.metadata metadata = self.metadata.copy()
model_metadata = self[model].model.metadata utils.mergedicts(metadata, self[model].model.metadata)
metadata = {**source_metadata, **model_metadata}
_skim(self[model], delta=groupby, metadata=metadata) _skim(self[model], delta=groupby, metadata=metadata)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment