Skip to content
1,856 changes: 1,066 additions & 790 deletions pixi.lock

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@ qtpy = ">=2.4.3,<3"
# Install the `gui` extra (bluesky-widgets, ntnda-qt-viewer, ...) in this env.
[feature.gui.pypi-dependencies]
hextools = { path = ".", editable = true, extras = ["gui"] }
ntnda-qt-viewer = { git = "https://github.com/jwlodek/ntnda-qt-viewer" }


[feature.gui.tasks]
qserver-gui = "queue-monitor --http-server-uri https://xf27id1-hex-qs1.nsls2.bnl.gov:443"
hex-gui = "python -m hextools.gui --http-server-uri https://xf27id1-hex-qs1.nsls2.bnl.gov:443"
hex-gui = "python -m hextools.gui"

[feature.gui-dev.tasks]
hex-gui-mock = "python -m hextools.gui --mock"

[environments]
# Base environments
Expand All @@ -113,6 +117,7 @@ terminal = {features = ["profile", "terminal"], solve-group = "profile"}
terminal-dev = { features = ["profile", "terminal", "dev"] }
qs = { features = ["profile", "qs"], solve-group = "profile" }
gui = { features = ["profile", "gui"], solve-group = "profile" }
gui-dev = { features = ["profile", "gui", "dev", "gui-dev"], solve-group = "profile" }

# Python version specific environments for CI
py311 = { features = ["dev", "py311"], solve-group = "py311" }
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ gui = [
"bluesky-queueserver",
"bluesky-queueserver-api",
"bluesky-httpserver",
"docstring-parser",
"tiled[client]",
"bluesky-tiled-plugins",
"matplotlib",
Expand Down
4 changes: 2 additions & 2 deletions src/hextools/edxd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
from hextools.photon_delivery_system import ensure_shutter_open, Shutter
from hextools.photon_delivery_system.shutter import ensure_shutter_closed
from hextools.utils import ensure_available
from hextools.motors import AsyncMovable
from bluesky import plan_stubs as bps, plans as bp
from ophyd_async.epics.motor import Motor as AsyncEpicsMotor

def edxd_scan(
movable: AsyncMovable[float],
movable: AsyncEpicsMotor,
start: float,
stop: float,
num_points: int,
Expand Down
Empty file added src/hextools/gui/__init__.py
Empty file.
Loading
Loading