File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,6 @@ def setup_matlab():
38
38
logger = mwi_logger .get (init = True )
39
39
logger .info ("Initializing Jupyter MATLAB Proxy" )
40
40
41
- # Get MATLAB icon from matlab_proxy
42
- #package_path = Path(inspect.getfile(matlab_proxy)).parent
43
- #icon_path = package_path / "icons" / "matlab.svg"
44
41
icon_path = Path (__file__ ).parent / "icon_open_matlab.svg"
45
42
logger .debug (f"Icon_path: { icon_path } " )
46
43
logger .debug (f"Launch Command: { matlab_proxy .get_executable_name ()} " )
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ def test_setup_matlab():
24
24
Dictionary for the Matlab process.
25
25
"""
26
26
# Setup
27
- package_path = Path (inspect .getfile (matlab_proxy )).parent
28
- icon_path = package_path / "icons" / "matlab .svg"
27
+ package_path = Path (inspect .getfile (jupyter_matlab_proxy )).parent
28
+ icon_path = package_path / "icon_open_matlab .svg"
29
29
30
30
expected_matlab_setup = {
31
31
"command" : [
@@ -37,7 +37,7 @@ def test_setup_matlab():
37
37
"environment" : jupyter_matlab_proxy ._get_env ,
38
38
"absolute_url" : True ,
39
39
"launcher_entry" : {
40
- "title" : "MATLAB" ,
40
+ "title" : "Open MATLAB" ,
41
41
"icon_path" : icon_path ,
42
42
},
43
43
}
You can’t perform that action at this time.
0 commit comments