From 48c99bbad3a24a614a935cf00cf6ba7d6e7063bf Mon Sep 17 00:00:00 2001 From: Zhuoyuan <75076820+ZLI-afk@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:43:11 +0800 Subject: [PATCH] fix: missing key word for Local and Lazylocal in simplified config dictionary --- apex/__init__.py | 2 +- apex/config.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apex/__init__.py b/apex/__init__.py index 7990198..3d7752d 100644 --- a/apex/__init__.py +++ b/apex/__init__.py @@ -1,5 +1,5 @@ import os -__version__ = '1.2.9' +__version__ = '1.2.10' LOCAL_PATH = os.getcwd() diff --git a/apex/config.py b/apex/config.py index 585e3d5..bdf73f0 100644 --- a/apex/config.py +++ b/apex/config.py @@ -137,7 +137,7 @@ def __post_init__(self): } if self.machine: update_dict(self.machine_dict, self.machine) - elif self.context_type in ["LocalContext", "localcontext" + elif self.context_type in ["LocalContext", "localcontext", "Local", "local"]: self.machine_dict = { "batch_type": self.batch_type, @@ -148,7 +148,7 @@ def __post_init__(self): } if self.machine: update_dict(self.machine_dict, self.machine) - elif self.context_type in ["LazyLocalContext", "lazylocalcontext" + elif self.context_type in ["LazyLocalContext", "lazylocalcontext", "LazyLocal", "lazylocal"]: self.machine_dict = { "batch_type": self.batch_type, diff --git a/setup.py b/setup.py index 7e5371a..3d9f686 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="apex-flow", - version="1.2.9", + version="1.2.10", author="Zhuoyuan Li, Tongqi Wen", author_email="zhuoyli@outlook.com", description="Alloy Properties EXplorer using simulations",