From 64f98c0b44aaae66a96a8606295197010c249ea6 Mon Sep 17 00:00:00 2001 From: Qianqian Fang <fangqq@gmail.com> Date: Sat, 13 Jun 2020 16:06:54 -0400 Subject: [PATCH] fix formatting issues for making Debian package --- DESCRIPTION | 3 --- encodevarname.m | 2 +- gzipdecode.m | 2 +- jload.m | 2 +- loadubjson.m | 2 +- nestbracket2dim.m | 2 +- savemsgpack.m | 2 +- zlibdecode.m | 2 +- 8 files changed, 7 insertions(+), 10 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d22e712..237f55a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,16 +1,13 @@ Name: jsonlab Version: 2.0.0 Date: 2020-06-13 - Title: A JSON/UBJSON/MessagePack encoder/decoder for MATLAB/Octave Author: Qianqian Fang <fangqq@gmail.com> Maintainer: Qianqian Fang <fangqq@gmail.com> - Description: JSONLab is a free and open-source implementation of a JSON/UBJSON/MessagePack encoder and a decoder in the native MATLAB language. It can be used to convert a MATLAB data structure (array, struct, cell, struct array and cell array) into JSON/UBJSON formatted string, or decode a JSON/UBJSON/MessagePack file into MATLAB data. JSONLab supports both MATLAB and GNU Octave (a free MATLAB clone). - URL: http://openjdata.org/jsonlab Categories: JSON diff --git a/encodevarname.m b/encodevarname.m index a8815e1..62385af 100644 --- a/encodevarname.m +++ b/encodevarname.m @@ -60,4 +60,4 @@ function str = encodevarname(str,varargin) str=[str str0(pos0(end-1)+1:pos0(end))]; end end -end \ No newline at end of file +end diff --git a/gzipdecode.m b/gzipdecode.m index 905da6b..57bb60a 100644 --- a/gzipdecode.m +++ b/gzipdecode.m @@ -66,4 +66,4 @@ if(nargout>0) varargout{1}=typecast(varargout{1},inputinfo.type); varargout{1}=reshape(varargout{1},inputinfo.size); end -end \ No newline at end of file +end diff --git a/jload.m b/jload.m index fba169d..8475d58 100644 --- a/jload.m +++ b/jload.m @@ -105,4 +105,4 @@ else if(nargout>1) varargout{2}=header; end -end \ No newline at end of file +end diff --git a/loadubjson.m b/loadubjson.m index c9497ef..e57ef25 100644 --- a/loadubjson.m +++ b/loadubjson.m @@ -36,4 +36,4 @@ function varargout = loadubjson(varargin) % -- this function is part of JSONLab toolbox (http://iso2mesh.sf.net/cgi-bin/index.cgi?jsonlab) % -[varargout{1:nargout}]=loadbj(varargin{:}); \ No newline at end of file +[varargout{1:nargout}]=loadbj(varargin{:}); diff --git a/nestbracket2dim.m b/nestbracket2dim.m index 77c69f7..d1a19bf 100644 --- a/nestbracket2dim.m +++ b/nestbracket2dim.m @@ -50,4 +50,4 @@ maxlevel=max(count); dims=histc(count,1:maxlevel); dims(1:end-1)=dims(1:end-1)*0.5; dims(2:end)=dims(2:end)./dims(1:end-1); -dims=fliplr(dims); \ No newline at end of file +dims=fliplr(dims); diff --git a/savemsgpack.m b/savemsgpack.m index fd5823f..1cad0b2 100644 --- a/savemsgpack.m +++ b/savemsgpack.m @@ -28,4 +28,4 @@ elseif(length(varargin)==1 && ischar(varargin{1})) msgpk=savebj(rootname,obj,'FileName',varargin{1},'MessagePack',1); else msgpk=savebj(rootname,obj,varargin{:},'MessagePack',1); -end \ No newline at end of file +end diff --git a/zlibdecode.m b/zlibdecode.m index 2566d88..cc17498 100644 --- a/zlibdecode.m +++ b/zlibdecode.m @@ -67,4 +67,4 @@ if(nargout>0) varargout{1}=typecast(varargout{1},inputinfo.type); varargout{1}=reshape(varargout{1},inputinfo.size); end -end \ No newline at end of file +end -- GitLab