Skip to content
Snippets Groups Projects

show better inject messages for JF and EPIX100 and remove EPIX det

Merged Karim Ahmed requested to merge feat/better_inject_msg_jf_epix into master
1 unresolved thread

@karnem showing better messages for dark notebooks and removing EPIX from notebooks.py

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
303 " \n",
297 " print(f\"Inject {const_name} constants from {metadata.calibration_constant_version.begin_at}\\n\")\n",
298 " except Exception as e: \n",
299 " if \"has already been take\" in str(e):\n",
300 " print(f\"{const_name} has already been injected with the same parameter conditions\\n\")\n",
301 " else:\n",
302 " # To prevent having big error message in the pdf report.\n",
303 " print(\"\\n\".join(textwrap.wrap(str(e),100)))\n",
304 "\n",
304 305 " if local_output:\n",
305 306 " save_const_to_h5(metadata, out_folder)\n",
306 " print(\"Calibration constant {} is stored locally.\".format(const))"
307 " print(f\"Calibration constant {const_name} is stored locally at {out_folder}.\")\n",
308 "\n",
309 "print(f\"Operating conditions are:\\n• Bias voltage: {bias_voltage}\\n• Integration time: {integration_time}\\n\"\n",
310 " f\"• Temperature: {temperature_k}\\n• In Vacuum: {in_vacuum}\\n• Creation time: {creation_time}\\n\")"
  • Mikhail Karnevskiy
  • Apart small comments LGTM.

  • Karim Ahmed added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Karim Ahmed mentioned in commit df071cb8

    mentioned in commit df071cb8

  • Please register or sign in to reply
    Loading