style: fix type hints and naming
CI / lint (pull_request) Successful in 46s
CI / test (3.12) (pull_request) Successful in 1m2s
CI / test (3.13) (pull_request) Successful in 1m8s
CI / test (3.14) (pull_request) Successful in 1m7s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m8s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m11s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m26s
CI / test-with-coverage (pull_request) Successful in 1m36s
CI / coverage-analysis (pull_request) Failing after 3s
CI / lint (push) Successful in 33s
Docs build and publish / docker (push) Successful in 16s
CI / test (3.12) (push) Canceled after 44s
CI / test (3.13) (push) Canceled after 40s
CI / test (3.14) (push) Canceled after 39s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 35s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 34s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 30s
CI / test-with-coverage (push) Canceled after 29s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 35s
CI / lint (pull_request) Successful in 46s
CI / test (3.12) (pull_request) Successful in 1m2s
CI / test (3.13) (pull_request) Successful in 1m8s
CI / test (3.14) (pull_request) Successful in 1m7s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m8s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m11s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m26s
CI / test-with-coverage (pull_request) Successful in 1m36s
CI / coverage-analysis (pull_request) Failing after 3s
CI / lint (push) Successful in 33s
Docs build and publish / docker (push) Successful in 16s
CI / test (3.12) (push) Canceled after 44s
CI / test (3.13) (push) Canceled after 40s
CI / test (3.14) (push) Canceled after 39s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 35s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 34s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 30s
CI / test-with-coverage (push) Canceled after 29s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 35s
This commit was merged in pull request #197.
This commit is contained in:
+1
-1
@@ -1394,7 +1394,7 @@ class AareDAQ:
|
||||
if request.screening:
|
||||
if request.wedge_omega_deg is None:
|
||||
raise ValueError("Must supply a wedge angle for screening requests")
|
||||
self._devs.aerotech.screening_scan_validation(
|
||||
self._devs.aerotech.validate_screening_scan(
|
||||
rotation_deg=request.incr_omega_deg,
|
||||
wedge_deg=request.wedge_omega_deg,
|
||||
time_sec=total_time,
|
||||
|
||||
@@ -256,8 +256,8 @@ class AerotechController:
|
||||
grid_elem_count_y: int,
|
||||
grid_elem_size_y_um: float,
|
||||
time_sec: float,
|
||||
grid_elem_size_x_um: float | None = None,
|
||||
grid_elem_count_x: int | None = None,
|
||||
grid_elem_size_x_um: float,
|
||||
grid_elem_count_x: int,
|
||||
run_async: bool | None = False,
|
||||
):
|
||||
payload = GridRequest(
|
||||
@@ -309,7 +309,7 @@ class AerotechController:
|
||||
operation="POST",
|
||||
) from e
|
||||
|
||||
def screening_scan_validation(
|
||||
def validate_screening_scan(
|
||||
self,
|
||||
rotation_deg: float,
|
||||
wedge_deg: float,
|
||||
|
||||
Reference in New Issue
Block a user