Removed redundant test schema
This commit is contained in:
parent
e91e58daa3
commit
085daa5ba6
1 changed files with 0 additions and 20 deletions
|
|
@ -9,24 +9,6 @@ from openflexure_microscope.utilities import set_properties
|
|||
from .focus_utils import sharpness_sum_lap2, JPEGSharpnessMonitor
|
||||
from .api import MeasureSharpnessAPI, AutofocusAPI, FastAutofocusAPI
|
||||
|
||||
API_SCHEMA = {
|
||||
'icon': 'center_focus_strong',
|
||||
'requireConnection': True,
|
||||
'forms': [
|
||||
{
|
||||
'route': '/fast_autofocus',
|
||||
'isTask': True,
|
||||
'submitLabel': "Run autofocus",
|
||||
'schema': [
|
||||
{
|
||||
'fieldType': "htmlBlock",
|
||||
'name': "heading",
|
||||
'content': "<b>This plugin was generated from JSON</b>"
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
class AutofocusPlugin(MicroscopePlugin):
|
||||
"""
|
||||
|
|
@ -39,8 +21,6 @@ class AutofocusPlugin(MicroscopePlugin):
|
|||
'/fast_autofocus': FastAutofocusAPI,
|
||||
}
|
||||
|
||||
api_schema = API_SCHEMA
|
||||
|
||||
### SLOW AUTOFOCUS
|
||||
|
||||
def autofocus(self, dz, settle=0.5, metric_fn=sharpness_sum_lap2):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue