Skip to content

Commit

Permalink
metadata optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Jun 6, 2023
1 parent 5dee7bb commit 27cf0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdxms_datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class HDXDataSet(object):
hdx_spec: dict
"""Dictionary with HDX-MS state specification"""

metadata: Optional[dict]
metadata: Optional[dict] = field(default_factory=dict)
"""Optional metadata"""

_cache: dict[tuple[str, str], pd.DataFrame] = field(init=False, default_factory=dict)
Expand Down

0 comments on commit 27cf0f4

Please sign in to comment.