Skip to content

Commit 925f743

Browse files
Merge pull request #21 from ISISComputingGroup/rerpha-patch-1
remove setting MAX_ARRAY_BYTES
2 parents c4c5871 + 0477014 commit 925f743

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/genie_python/genie.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from genie_python.genie_api_setup import __api as _genie_api
1616

17-
os.environ["EPICS_CA_MAX_ARRAY_BYTES"] = "20000000"
1817
os.environ["FROM_IBEX"] = str(False)
1918

2019
# for user import this functionality so they can do g.adv and g.sim
@@ -24,23 +23,23 @@
2423
import genie_python.genie_toggle_settings as toggle # noqa F401
2524

2625
# Import required for g.my_pv_prefix
27-
from genie_python.genie_api_setup import (
26+
from genie_python.genie_api_setup import ( # noqa E402
2827
get_user_script_dir,
2928
helparglist,
3029
log_command_and_handle_exception,
3130
my_pv_prefix, # noqa F401
3231
set_user_script_dir,
3332
usercommand,
3433
)
35-
from genie_python.genie_script_checker import ScriptChecker
36-
from genie_python.genie_toggle_settings import ToggleSettings
37-
from genie_python.utilities import (
34+
from genie_python.genie_script_checker import ScriptChecker # noqa E402
35+
from genie_python.genie_toggle_settings import ToggleSettings # noqa E402
36+
from genie_python.utilities import ( # noqa E402
3837
EnvironmentDetails,
3938
check_lowlimit_against_highlimit,
4039
get_correct_filepath_existing,
4140
get_correct_path,
4241
)
43-
from genie_python.version import VERSION
42+
from genie_python.version import VERSION # noqa E402
4443

4544
PVBaseValue = bool | int | float | str
4645
PVValue = PVBaseValue | list[PVBaseValue] | npt.NDArray | None

0 commit comments

Comments
 (0)