Removed z_stack Thing from rebase
This commit is contained in:
parent
673a135157
commit
2205459aeb
1 changed files with 1 additions and 4 deletions
|
|
@ -13,7 +13,6 @@ from datetime import datetime
|
||||||
from subprocess import CompletedProcess, Popen, PIPE, SubprocessError, STDOUT
|
from subprocess import CompletedProcess, Popen, PIPE, SubprocessError, STDOUT
|
||||||
import glob
|
import glob
|
||||||
import json
|
import json
|
||||||
import piexif
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from labthings_fastapi.thing import Thing
|
from labthings_fastapi.thing import Thing
|
||||||
|
|
@ -40,9 +39,8 @@ AutofocusDep = direct_thing_client_dependency(AutofocusThing, "/autofocus/")
|
||||||
BackgroundDep = direct_thing_client_dependency(
|
BackgroundDep = direct_thing_client_dependency(
|
||||||
BackgroundDetectThing, "/background_detect/"
|
BackgroundDetectThing, "/background_detect/"
|
||||||
)
|
)
|
||||||
ZStackDep = direct_thing_client_dependency(ZStackThing, "/z_stack/")
|
|
||||||
IMAGE_REGEX = re.compile(r"-?[0-9]+_-?[0-9]+\.jpeg$")
|
|
||||||
|
|
||||||
|
IMAGE_REGEX = re.compile(r"-?[0-9]+_-?[0-9]+\.jpeg$")
|
||||||
|
|
||||||
|
|
||||||
def unpack_autofocus(scan_data):
|
def unpack_autofocus(scan_data):
|
||||||
|
|
@ -699,7 +697,6 @@ class SmartScanThing(Thing):
|
||||||
raise HTTPException(404, "File not found")
|
raise HTTPException(404, "File not found")
|
||||||
return FileResponse(path)
|
return FileResponse(path)
|
||||||
|
|
||||||
|
|
||||||
@thing_property
|
@thing_property
|
||||||
def max_range(self) -> int:
|
def max_range(self) -> int:
|
||||||
"""The maximum distance from the centre of the scan before we break"""
|
"""The maximum distance from the centre of the scan before we break"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue