Skip to content

Commit

Permalink
Update to v0.5.3
Browse files Browse the repository at this point in the history
* Remove OS from DDUX
* Remove invalid startup flags
  • Loading branch information
Prabhakar Kumar committed Nov 7, 2022
1 parent a2c0432 commit 65f83e5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions matlab_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ def __get_matlab_proxy_base_ddux_value():
Returns:
str : DDUX value for MATLAB use.
"""
current_os = system.get_os().upper()

return f"MATLAB_PROXY:BASE:{current_os}:V1"
return f"MATLAB_PROXY:BASE:V1"


def get_mwi_ddux_value(extension_name):
Expand Down
1 change: 0 additions & 1 deletion matlab_proxy/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ def get(config_name=matlab_proxy.get_default_config_name(), dev=False):
"matlab_version": get_matlab_version(matlab_path),
"matlab_cmd": [
"matlab",
"-webui",
"-nosplash",
"-nodesktop",
"-softwareopengl",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def run(self):

setuptools.setup(
name="matlab-proxy",
version="0.5.2",
version="0.5.3",
url=config["doc_url"],
author="The MathWorks, Inc.",
author_email="[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ddux.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_get_mwi_ddux_value():

assert expected_result == actual_result

expected_result = f"MATLAB_PROXY:HELLO_WORLD:{util.system.get_os().upper()}:V1"
expected_result = f"MATLAB_PROXY:HELLO_WORLD:V1"
actual_result = matlab_proxy.get_mwi_ddux_value("hello world")

assert expected_result == actual_result
Expand Down

0 comments on commit 65f83e5

Please sign in to comment.