Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Nov 6, 2023
1 parent 405029b commit d238593
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions ecml_tools/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,19 +289,11 @@ def variables(self):
]

def metadata(self):
result = {
k: self.z.attrs[k]
for k in (
"uuid",
"version",
"description",
"data_request",
"order_by",
"remapping",
"resolution",
"variables",
)
}
result = {}
for k, v in self.z.attrs.items():
if not k.startswith("_"):
result[k] = v
return result

def __repr__(self):
return self.path
Expand Down

0 comments on commit d238593

Please sign in to comment.