From 8dc2cf9cad1db42c71499b453db74e35f6740f72 Mon Sep 17 00:00:00 2001 From: mccoys Date: Tue, 8 Mar 2022 22:45:37 +0100 Subject: [PATCH 1/2] remove workshop registration --- doc/Sphinx/index.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/Sphinx/index.rst b/doc/Sphinx/index.rst index efd442350..b4c012325 100755 --- a/doc/Sphinx/index.rst +++ b/doc/Sphinx/index.rst @@ -7,11 +7,6 @@ .. image:: _static/smileiLogo.svg -.. rst-class:: emphlink red - - `❰ Registrations for the 3rd user & training workshop ❱ `_ - - **Smilei** is a Particle-In-Cell code for plasma simulation. Open-source, collaborative, user-friendly and designed for high performances on super-computers, it is applied to a wide range of physics studies: from relativistic laser-plasma From d5bdd5354b5ce97424b9995b4bb47662525138d5 Mon Sep 17 00:00:00 2001 From: mccoys Date: Thu, 10 Mar 2022 14:55:46 +0100 Subject: [PATCH 2/2] fix recent pint --- happi/_Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/happi/_Utils.py b/happi/_Utils.py index 93dce6c85..4be77a1cd 100755 --- a/happi/_Utils.py +++ b/happi/_Utils.py @@ -275,7 +275,7 @@ def __init__(self, *args, **kwargs): def _getUnits(self, units): if self.UnitRegistry: u = self.ureg(units) - try: u = u.units.format_babel() + try: u = u.units.format_babel(locale="en") except Exception as e: u = "" return u else: