mirror of
https://github.com/c-sooyoung/bo-ptycho.git
synced 2026-09-17 20:29:07 +09:00
renamed ExamplePtychoEngine
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
|||||||
from .base import PtychoEngine
|
from .example import ExamplePtychoEngine
|
||||||
from .ptycho_example import ExamplePtychoEngine
|
|
||||||
from .fold_slice import FoldSlicePtychoEngine
|
from .fold_slice import FoldSlicePtychoEngine
|
||||||
|
|
||||||
engines = {
|
engines = {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ class ExamplePtychoEngine(PtychoEngine):
|
|||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
super().__init__(config)
|
super().__init__(config)
|
||||||
|
|
||||||
# run single ptychography job based on `config`
|
|
||||||
def run(self, run_id="") -> None:
|
def run(self, run_id="") -> None:
|
||||||
print(f"[{run_id}] [ExamplePtychoEngine] Sleeping for 0.1 second.")
|
print(f"[{run_id}] [ExamplePtychoEngine] Sleeping for 0.1 second.")
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
Reference in New Issue
Block a user