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)