Skip to content

Commit

Permalink
load fix when no experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
andped10 committed Nov 11, 2024
1 parent a9f1f33 commit 9b1d133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/easyreflectometry/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def from_dict(self, project_dict: dict):
if 'experiments' in keys:
self._experiments = self._from_dict_extract_experiments(project_dict)
else:
self._experiments = None
self._experiments = {}

def _from_dict_extract_experiments(self, project_dict: dict) -> Dict[int, DataSet1D]:
experiments = {}
Expand Down

0 comments on commit 9b1d133

Please sign in to comment.