Skip to content

Commit

Permalink
(DiamondLightSource/hyperion#1032) Some tidying up from review
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Mar 6, 2024
1 parent 89ee1d5 commit a648eee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ __pycache__/

# C extensions
*.so
Makefile

# Output
*.png
Expand Down
2 changes: 1 addition & 1 deletion src/hyperion/device_setup_plans/read_hardware_for_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def read_hardware_for_ispyb_pre_collection(
yield from bps.read(synchrotron.machine_status.synchrotron_mode)
yield from bps.read(s4_slit_gaps.xgap)
yield from bps.read(s4_slit_gaps.ygap)
yield from bps.read(aperture_scatterguard.selected_aperture)
yield from bps.read(aperture_scatterguard)
yield from bps.read(robot.barcode)
yield from bps.save()

Expand Down
1 change: 0 additions & 1 deletion src/hyperion/external_interaction/ispyb/ispyb_dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class IspybParams(BaseModel):
sample_barcode: Optional[str] = None

# Optional from GDA as populated by Ophyd
aperture_name: Optional[str] = None
flux: Optional[float] = None
undulator_gap: Optional[float] = None
synchrotron_mode: Optional[str] = None
Expand Down

0 comments on commit a648eee

Please sign in to comment.