File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -401,6 +401,7 @@ def _analyse(self, transferred_file: Path):
401401 "AtlasContext"
402402 | "CLEMContext"
403403 | "FIBContext"
404+ | "SIMContext"
404405 | "SPAMetadataContext"
405406 | "SXTContext"
406407 | "TomographyMetadataContext"
Original file line number Diff line number Diff line change 1+ import logging
2+ from pathlib import Path
3+
4+ from murfey .client .context import Context
5+ from murfey .client .instance_environment import MurfeyInstanceEnvironment
6+
7+ logger = logging .getLogger ("murfey.client.contexts.sim" )
8+
9+
10+ class SIMContext (Context ):
11+ def __init__ (
12+ self ,
13+ acquisition_software : str ,
14+ basepath : Path ,
15+ machine_config : dict ,
16+ token : str ,
17+ ):
18+ super ().__init__ ("SIMContext" , acquisition_software , token )
19+ self ._basepath = basepath
20+ self ._machine_config = machine_config
21+
22+ def post_transfer (
23+ self ,
24+ transferred_file : Path ,
25+ environment : MurfeyInstanceEnvironment | None = None ,
26+ ** kwargs ,
27+ ):
28+ return None
You can’t perform that action at this time.
0 commit comments