Skip to content

Commit

Permalink
Merge pull request #286 from OpenCOMPES/sxp_loader_config
Browse files Browse the repository at this point in the history
fix docs
  • Loading branch information
rettigl authored Nov 19, 2023
2 parents 640ea91 + 66891a0 commit 4250a48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docs/sed/loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ FlashLoader
:members:
:undoc-members:

.. automodule:: sed.loader.flash.utils
SXPLoader
###################################################
.. automodule:: sed.loader.sxp.loader
:members:
:undoc-members:

Expand Down
6 changes: 3 additions & 3 deletions sed/calibrator/energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,11 +777,11 @@ def view( # pylint: disable=dangerous-default-value
def get_current_calibration(self) -> dict:
"""Return the current calibration dictionary.
if none is present, return the one from the config. If none is present there,
If none is present, return the one from the config. If none is present there,
return an empty dictionary.
Returns:
dict: Calibration dictionary.
Returns:
dict: Calibration dictionary.
"""
if self.calibration:
calibration = deepcopy(self.calibration)
Expand Down

0 comments on commit 4250a48

Please sign in to comment.