Skip to content

Commit 4830b2c

Browse files
committed
lint
1 parent 89b0972 commit 4830b2c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

demos/MoAE/download.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
end
1111

1212
msg = sprintf('Downloading dataset from:\n %s\n\n', URL);
13-
printToScreen(msg, verbose);
13+
print_to_screen(msg, verbose);
1414

1515
tokens = regexp(URL, '/', 'split');
1616
protocol = tokens{1};
@@ -35,7 +35,7 @@
3535

3636
% move file in case it was not downloaded in the root dir
3737
if ~exist(fullfile(output_dir, filename), 'file')
38-
printToScreen([filename ' --> ' output_dir], verbose);
38+
print_to_screen([filename ' --> ' output_dir], verbose);
3939
movefile(filename, fullfile(output_dir, filename));
4040
end
4141
filename = fullfile(output_dir, filename);
@@ -54,11 +54,11 @@
5454
filename = filename{1};
5555
end
5656

57-
printToScreen(' Done\n\n', verbose);
57+
print_to_screen(' Done\n\n', verbose);
5858

5959
end
6060

61-
function printToScreen(msg, verbose)
61+
function print_to_screen(msg, verbose)
6262
if verbose
6363
fprintf(1, msg);
6464
end

demos/MoAE/download_moae_ds.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function download_moae_ds(downloadData)
2222
fprintf('%-10s:', 'Unzipping dataset...');
2323
unzip(filename);
2424
movefile('MoAEpilot', fullfile(working_directory, 'inputs', 'raw'));
25-
delete(filename)
25+
delete(filename);
2626
fprintf(1, ' Done\n\n');
2727

2828
end

0 commit comments

Comments
 (0)