Skip to content

Commit 526609f

Browse files
committed
Update changelog and fix lint.
1 parent ae6c319 commit 526609f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/source/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ Latest
77
Improvements
88
++++++++++++
99

10+
- `leveldiagram` and `arc` dependencies are now lazy loaded at first use
11+
(`draw_diagram` and `Cell` instantiation, respectively).
12+
This improves `import rydiqule as rq` time by about a second
13+
and ensures second-order dependencies such as matplotlib and sympy are not
14+
imported unless explicitly needed.
15+
1016

1117
Bug Fixes
1218
+++++++++

src/rydiqule/cell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from .sensor_utils import ScannableParameter, TimeFunc
1717
from .atom_utils import calc_kappa, calc_eta, expand_qnums, validate_qnums, A_QState, ground_state, _load_arc_atom
1818
from .arc_utils import RQ_AlkaliAtom
19-
from .exceptions import RydiquleError, AtomError, CouplingNotAllowedError
19+
from .exceptions import RydiquleError, CouplingNotAllowedError
2020
from .exceptions import RydiquleWarning, debug_state
2121

2222
from typing import Literal, Optional, Sequence, List, Tuple, Callable, Union, Dict

0 commit comments

Comments
 (0)