Load capture objects from files. Remove YAML database.
This commit is contained in:
parent
f8e647198a
commit
092181348b
9 changed files with 64 additions and 119 deletions
|
|
@ -2,7 +2,7 @@ from openflexure_microscope.api.v1.views import MicroscopeViewPlugin
|
|||
from openflexure_microscope.api.utilities import JsonPayload
|
||||
|
||||
from flask import request, jsonify, abort
|
||||
|
||||
import logging
|
||||
|
||||
class TileScanAPI(MicroscopeViewPlugin):
|
||||
def post(self):
|
||||
|
|
@ -34,7 +34,7 @@ class TileScanAPI(MicroscopeViewPlugin):
|
|||
metadata = payload.param('metadata', default={}, convert=dict)
|
||||
tags = payload.param('tags', default=[], convert=list)
|
||||
|
||||
print("Running tile scan...")
|
||||
logging.info("Running tile scan...")
|
||||
task = self.microscope.task.start(
|
||||
self.plugin.tile,
|
||||
basename=filename,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue