Skip to content

Commit

Permalink
Merge pull request #478 from European-XFEL/auto-aliases-log
Browse files Browse the repository at this point in the history
Use logging to show default aliases message instead of print()
  • Loading branch information
takluyver authored Jan 15, 2024
2 parents d18ead4 + bedd170 commit af3a5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra_data/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,6 @@ def open_run(

if aliases is not None:
dc = dc.with_aliases(aliases)
print(f"Loading {len(dc._aliases)} aliases from: {aliases}", flush=True, file=sys.stderr)
log.info("Loading %d aliases from: %s", len(dc._aliases), aliases)

return dc

0 comments on commit af3a5de

Please sign in to comment.