Skip to content

Commit 35f7c42

Browse files
committed
Merge branch 'dev'
2 parents 2450e10 + 14e0e63 commit 35f7c42

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

External/depmat/DepMat.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
function installed = isGitInstalled
9292
if ispc
9393
command = 'where git';
94-
command = split(command, char(13));
9594
else
9695
command = 'which git';
9796
end

External/mim/Gui/Controllers/MimSaveAs.m

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
% Syntax
55
% ------
66
%
7-
% MimSaveAs(image_data, patient_name, path_name, reporting)
7+
% MimSaveAs(image_data, patient_name, path_name, is_secondary_capture, dicom_metadata, reporting)
88
%
99
% image_data is a PTKImage (or PTKDicomImage) class containing the image
1010
% to be saved
1111
% patient_name specifies the patient name to be stored in the image (only
1212
% used when there is no metadata available in the image)
13-
% path, filename specify the location to save the DICOM data. One 2D file
13+
% path_name specify the location to save the DICOM data. One 2D file
1414
% will be created for each image slice in the z direction.
1515
% Each file is numbered, starting from 0.
1616
% So if filename is 'MyImage.DCM' then the files will be
@@ -34,7 +34,15 @@
3434
error('Requires a PTKImage as input');
3535
end
3636

37-
if nargin < 4
37+
if nargin < 4 || isempty(is_secondary_capture)
38+
is_secondary_capture = false;
39+
end
40+
41+
if nargin < 5 || isempty(dicom_metadata)
42+
dicom_metadata = struct('DicomName', patient_name, 'DicomStudyDescription', patient_name);
43+
end
44+
45+
if nargin < 6
3846
reporting = CoreReportingDefault;
3947
end
4048

External/mim/Library/File/MimLoadOtherFormat.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141

4242
if isa(filenames, 'CoreFilename')
4343
path = filenames.Path;
44-
filenames = filenames.Name;
44+
filenames = {filenames.Name};
4545
elseif isa(filenames{1}, 'CoreFilename')
4646
path = filenames{1}.Path;
47-
filenames = filenames{1}.Name;
47+
filenames = {filenames{1}.Name};
4848
end
4949

5050
if nargin < 3

Library/Airways/PTKLoadTreeFromNodes.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
% Syntax
55
% ------
66
%
7-
% root_branch = PTKLoadTreeFromNodes(file_path, filename_prefix, reporting)
7+
% root_branch = PTKLoadTreeFromNodes(file_path, node_filename, element_filename, coordinate_system, template_image, reporting)
88
%
99
% root_branch is the root branch in a PTKTreeModel structure
1010
% file_path is the path where the node and element files

0 commit comments

Comments
 (0)