From 792e91536c487d77764c8d01bedc454f5de81145 Mon Sep 17 00:00:00 2001 From: Sooyoung Cheong <64125280+c-sooyoung@users.noreply.github.com> Date: Mon, 10 Aug 2026 23:54:24 +0900 Subject: [PATCH] renamed ExamplePtychoEngine --- ptycho/__init__.py | 3 +-- ptycho/{ptycho_example.py => example.py} | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) rename ptycho/{ptycho_example.py => example.py} (90%) diff --git a/ptycho/__init__.py b/ptycho/__init__.py index df223b9..c44af7f 100644 --- a/ptycho/__init__.py +++ b/ptycho/__init__.py @@ -1,5 +1,4 @@ -from .base import PtychoEngine -from .ptycho_example import ExamplePtychoEngine +from .example import ExamplePtychoEngine from .fold_slice import FoldSlicePtychoEngine engines = { diff --git a/ptycho/ptycho_example.py b/ptycho/example.py similarity index 90% rename from ptycho/ptycho_example.py rename to ptycho/example.py index d9d5f9e..1edd8fe 100644 --- a/ptycho/ptycho_example.py +++ b/ptycho/example.py @@ -8,7 +8,6 @@ class ExamplePtychoEngine(PtychoEngine): def __init__(self, config): super().__init__(config) - # run single ptychography job based on `config` def run(self, run_id="") -> None: print(f"[{run_id}] [ExamplePtychoEngine] Sleeping for 0.1 second.") time.sleep(0.1)