Skip to content

Commit

Permalink
issue-14: remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
IslaL committed Apr 9, 2024
1 parent 7bf5cd7 commit 5af504e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions onc/+onc/DataProductFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@
else
this.fileSize = strlength(response.Body.Data);
end
%save_as_file doesn't work properly! Use urlwrite instead
%[~, saveResult] = urlwrite(uri.EncodedURI,fullfile(outPath, filename));
% neither urlwrite nor save_as_file works properly, use websave


savefilename = fullfile(outPath, filename);
% Create folder if not exist
Expand All @@ -127,7 +123,6 @@
elseif s == 202
% Still processing, wait and retry
log.printResponse(jsondecode(response.Body.Data));
%log.printResponse(response.Body.Data);
pause(pollPeriod);
elseif s == 204
% No data found
Expand Down

0 comments on commit 5af504e

Please sign in to comment.