agx-openplx 0.16.7__cp39-cp39-macosx_12_0_arm64.whl → 0.16.9__cp39-cp39-macosx_12_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
openplx/__init__.py CHANGED
@@ -10,7 +10,7 @@ import importlib.util
10
10
  if importlib.util.find_spec("agx_env"):
11
11
  import agx_env # pylint: disable=unused-import
12
12
  __AGXVERSION__ = "2.39.1.2"
13
- __version__ = "0.16.7"
13
+ __version__ = "0.16.9"
14
14
 
15
15
  try:
16
16
  import agx
@@ -83,7 +83,7 @@ class OpenPlxApplication:
83
83
 
84
84
  adjusted_bundle_path = args.bundle_path
85
85
  if args.add_bundle_path != "":
86
- adjusted_bundle_path += ";" if os.name == "nt" else ":" + args.add_bundle_path
86
+ adjusted_bundle_path += (";" if os.name == "nt" else ":") + args.add_bundle_path
87
87
  result = load_from_file(simulation(), args.openplxfile if openplxfile is None else openplxfile, adjusted_bundle_path, opt_params)
88
88
 
89
89
  assembly = result.assembly()
@@ -45,7 +45,7 @@ def validate():
45
45
 
46
46
  adjusted_bundle_path = args.bundle_path
47
47
  if args.add_bundle_path != "":
48
- adjusted_bundle_path += ";" if os.name == "nt" else ":" + args.add_bundle_path
48
+ adjusted_bundle_path += (";" if os.name == "nt" else ":") + args.add_bundle_path
49
49
  result = load_from_file(simulation, args.openplxfile, adjusted_bundle_path, opt_params)
50
50
 
51
51
  if len(result.errors()) == 0: