Skip to content

Commit

Permalink
fixing minor typos in matpyuda
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Dixon authored and Stephen Dixon committed Jul 26, 2023
1 parent f90dee9 commit 18d62a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function reset_connection(obj)

function result = get(obj, signal, source)
pyobj = obj.python_client.get(string(signal), string(source));
result = convert_pyuda_obj_to_matlab_type;
result = convert_pyuda_obj_to_matlab_type(pyobj);
end

function result = get_batch(obj, signals, sources)
Expand Down
2 changes: 0 additions & 2 deletions source/wrappers/matlab/pyuda_interface/+matpyuda/MastClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
options.pass_number = py.None
options.machine string = 'mastu'
end
options
% args = py.dict(options); % cannot unpack py dict into kwargs through matlab
pyobj = obj.python_client.list(list_type=py.int(options.list_type), shot=options.shot, ...
alias=options.alias, signal_type=options.signal_type, signal_search=options.signal_search, ...
Expand All @@ -40,7 +39,6 @@
options.pass_number = py.None
options.machine string = 'mastu'
end
options
% args = py.dict(options); % cannot unpack py dict into kwargs through matlab
pyobj = obj.python_client.list_signals(shot=options.shot, ...
alias=options.alias, signal_type=options.signal_type, signal_search=options.signal_search, ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@
ME = MException("unpack_python_list:TyeNotImplemented", "datatype %s not implemented", t_str);
addCause(exception, ME);
throw(exception)
end
end
end

0 comments on commit 18d62a1

Please sign in to comment.