Skip to content

Commit

Permalink
Use dispif with char for py.sys.path
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohansson committed Jan 4, 2024
1 parent f1def2c commit 2225a86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions Tests/runGitHubTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@

run('../startupBattMo.m')

%% Test dispif

disp('Standard disp');
mrstVerbose 'off';
dispif(mrstVerbose, 'dispif with mrstVerbose off');
mrstVerbose 'on';
dispif(mrstVerbose, 'dispif with mrstVerbose on');

return

%% Run tests

mrstVerbose 'on';
Expand Down
2 changes: 1 addition & 1 deletion Utilities/JsonUtils/loadModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function loadModule(modulename)
warning('Calling python is not supported on this platform (%s). Only MATLAB is supported.', mrstPlatform('platform'));
end

dispif(mrstVerbose, py.sys.path)
dispif(mrstVerbose, [char(py.sys.path), '\n']);

% Try to load module
try
Expand Down

0 comments on commit 2225a86

Please sign in to comment.