Skip to content

Commit

Permalink
fix warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Jan 27, 2025
1 parent b014c18 commit bcefdfb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sed/loader/mpes/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,14 @@ def __init__(self, metadata_config: dict, token: str = None) -> None:

if not self.token:
logger.warning(
"No valid token provided for elabFTW." "Fetching elabFTW metadata will be skipped.",
"No valid token provided for elabFTW. Fetching elabFTW metadata will be skipped.",
)
return

self.url = self._config.get("elab_url")
if not self.url:
logger.warning(
"No URL provided for fetching metadata from elabFTW."
"Fetching elabFTW metadata will be skipped.",
"No URL provided for elabFTW. Fetching elabFTW metadata will be skipped.",
)
return

Expand Down

0 comments on commit bcefdfb

Please sign in to comment.