renamed ExamplePtychoEngine

This commit is contained in:
2026-08-10 23:54:24 +09:00
parent 7a79b49611
commit 792e91536c
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -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)