Formatting
This commit is contained in:
parent
b8354d3e8e
commit
8b20975cb9
5 changed files with 7 additions and 3 deletions
|
|
@ -2,6 +2,7 @@ from labthings import fields, find_component
|
||||||
from labthings.extensions import BaseExtension
|
from labthings.extensions import BaseExtension
|
||||||
from labthings.views import View
|
from labthings.views import View
|
||||||
|
|
||||||
|
|
||||||
# Create the extension class
|
# Create the extension class
|
||||||
class MyExtension(BaseExtension):
|
class MyExtension(BaseExtension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ from labthings import Schema, fields, find_component
|
||||||
from labthings.extensions import BaseExtension
|
from labthings.extensions import BaseExtension
|
||||||
from labthings.views import View
|
from labthings.views import View
|
||||||
|
|
||||||
|
|
||||||
# Create the extension class
|
# Create the extension class
|
||||||
class MyExtension(BaseExtension):
|
class MyExtension(BaseExtension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ from labthings import Schema, fields, find_component
|
||||||
from labthings.extensions import BaseExtension
|
from labthings.extensions import BaseExtension
|
||||||
from labthings.views import PropertyView
|
from labthings.views import PropertyView
|
||||||
|
|
||||||
|
|
||||||
# Create the extension class
|
# Create the extension class
|
||||||
class MyExtension(BaseExtension):
|
class MyExtension(BaseExtension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ from labthings import Schema, fields, find_component
|
||||||
from labthings.extensions import BaseExtension
|
from labthings.extensions import BaseExtension
|
||||||
from labthings.views import ActionView, PropertyView
|
from labthings.views import ActionView, PropertyView
|
||||||
|
|
||||||
|
|
||||||
# Create the extension class
|
# Create the extension class
|
||||||
class MyExtension(BaseExtension):
|
class MyExtension(BaseExtension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@ from labthings import current_action, fields, find_component, update_action_prog
|
||||||
from labthings.extensions import BaseExtension
|
from labthings.extensions import BaseExtension
|
||||||
from labthings.views import ActionView
|
from labthings.views import ActionView
|
||||||
|
|
||||||
# Used in our timelapse function
|
|
||||||
from openflexure_microscope.captures.capture_manager import generate_basename
|
|
||||||
|
|
||||||
# Used to convert our GUI dictionary into a complete eV extension GUI
|
# Used to convert our GUI dictionary into a complete eV extension GUI
|
||||||
from openflexure_microscope.api.utilities.gui import build_gui
|
from openflexure_microscope.api.utilities.gui import build_gui
|
||||||
|
|
||||||
|
# Used in our timelapse function
|
||||||
|
from openflexure_microscope.captures.capture_manager import generate_basename
|
||||||
|
|
||||||
|
|
||||||
# Create the extension class
|
# Create the extension class
|
||||||
class TimelapseExtension(BaseExtension):
|
class TimelapseExtension(BaseExtension):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue