Skip to content

Commit 40841d0

Browse files
committed
[doc] update upstream repository to NeuroJSON
1 parent 07399df commit 40841d0

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

ChangeLog.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ JSONlab ChangeLog (key features marked by *):
6565
2023-04-21 [49eceb0] Fix typo not found by codespell
6666
2023-04-21 [75b1fdc] Fix typos found by codespell
6767
2023-04-17 [8fea393] revert savejson change
68-
2023-04-17 [9554a44] Merge branch 'master' of github.com:fangq/jsonlab
68+
2023-04-17 [9554a44] Merge branch 'master' of github.com:NeuroJSON/jsonlab
6969
2023-04-17 [3c32aff] speed up string encoding and decoding
7070
2023-04-09*[8c8464f] rename jamm files to pmat - portable mat, will add jsonmmap
7171
2023-04-09 [aa1c2a4] drop ubuntu-18.04
@@ -295,7 +295,7 @@ JSONlab ChangeLog (key features marked by *):
295295
2014/11/22 show progress bar in loadjson ('ShowProgress')
296296
2014/11/17 *add Compact option in savejson to output compact JSON format ('Compact')
297297
2014/11/17 add FastArrayParser in loadjson to specify fast parser applicable levels
298-
2014/09/18 *start official github mirror: https://github.com/fangq/jsonlab
298+
2014/09/18 *start official github mirror: https://github.com/NeuroJSON/jsonlab
299299

300300
== JSONlab 1.0.0-RC1 (codename: Optimus - RC1), FangQ <q.fang (at) neu.edu> ==
301301

README.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Acknowledgement: This project is supported by US National Institute of Health (NIH)
1818
grant `U24-NS124027 <https://reporter.nih.gov/project-details/10308329>`_
1919

20-
.. image:: https://github.com/fangq/jsonlab/actions/workflows/run_test.yml/badge.svg
21-
:target: https://github.com/fangq/jsonlab/actions/workflows/run_test.yml
20+
.. image:: https://github.com/NeuroJSON/jsonlab/actions/workflows/run_test.yml/badge.svg
21+
:target: https://github.com/NeuroJSON/jsonlab/actions/workflows/run_test.yml
2222

2323
#################
2424
Table of Contents
@@ -125,7 +125,7 @@ included in the official distributions of Debian Bullseye and Ubuntu 21.04 or ne
125125
- 2023-04-21 [49eceb0] Fix typo not found by codespell
126126
- 2023-04-21 [75b1fdc] Fix typos found by codespell
127127
- 2023-04-17 [8fea393] revert savejson change
128-
- 2023-04-17 [9554a44] Merge branch 'master' of github.com:fangq/jsonlab
128+
- 2023-04-17 [9554a44] Merge branch 'master' of github.com:NeuroJSON/jsonlab
129129
- 2023-04-17 [3c32aff] speed up string encoding and decoding
130130
- 2023-04-09*[8c8464f] rename jamm files to pmat - portable mat, will add jsonmmap
131131
- 2023-04-09 [aa1c2a4] drop ubuntu-18.04
@@ -491,7 +491,7 @@ loadjson.m
491491
492492
% if a URL is provided, loadjson reads JSON data from the URL and return the parsed results,
493493
% similar to webread, except loadjson calls jdatadecode to decode JData annotations
494-
dat=loadjson('https://raw.githubusercontent.com/fangq/jsonlab/master/examples/example1.json')
494+
dat=loadjson('https://raw.githubusercontent.com/NeuroJSON/jsonlab/master/examples/example1.json')
495495
496496
% using the 'BuildinJSON' flag, one can use the built-in jsondecode.m in MATLAB (R2016+)
497497
% or Octave (7.0+) to parse the JSON data for better speed, note that jsondecode encode
@@ -503,10 +503,10 @@ loadjson.m
503503
dat=loadjson('{"obj":{"an object with a key longer than 63":"value","array":[1,2,3]}}', 'UseMap', 1)
504504
505505
% loadjson can further download the linked data pointed by _DataLink_ tag, and merge with the parent
506-
dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/fangq/jsonlab/master/examples/example1.json"},"array":[1,2]}','maxlinklevel',1)
506+
dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/NeuroJSON/jsonlab/master/examples/example1.json"},"array":[1,2]}','maxlinklevel',1)
507507
508508
% a JSONPath can be attached to the URL to retrieve a sub element
509-
dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/fangq/jsonlab/master/examples/example1.json:$.address.city"},"array":[1,2]}','maxlinklevel',1)
509+
dat=loadjson('{"obj":{"_DataLink_":"https://raw.githubusercontent.com/NeuroJSON/jsonlab/master/examples/example1.json:$.address.city"},"array":[1,2]}','maxlinklevel',1)
510510
511511
% loadjson can optionally return a JSON-memory-map object, which defines each JSON element's
512512
% memory buffer offset and length to enable disk-map like fast read/write operations
@@ -777,7 +777,7 @@ jsoncache.m
777777
[cachepath, filename] = jsoncache('https://neurojson.org/io/stat.cgi?action=get&db=openneuro&doc=ds000001&file=sub-01/anat/sub-01_inplaneT2.nii.gz&size=669578')
778778
779779
% this searches CACHEFOLDER{i}/raw.githubusercontent.com/55/d2, and the filename is 55d24a4bad6ecc3f5dc4d333be728e01c26b696ef7bc5dd0861b7fa672a28e8e.json
780-
[cachepath, filename] = jsoncache('https://raw.githubusercontent.com/fangq/jsonlab/master/examples/example1.json')
780+
[cachepath, filename] = jsoncache('https://raw.githubusercontent.com/NeuroJSON/jsonlab/master/examples/example1.json')
781781
782782
% this searches cachefolder{i}/io/adhd200/Brown folder, and look for file Brown.json
783783
[cachepath, filename] = jsoncache('https://neurojson.io:7777/adhd200/Brown')
@@ -1047,15 +1047,15 @@ following command:
10471047

10481048
.. code:: shell
10491049
1050-
git clone https://github.com/fangq/jsonlab.git jsonlab
1050+
git clone https://github.com/NeuroJSON/jsonlab.git jsonlab
10511051
10521052
or browsing the github site at
10531053

1054-
https://github.com/fangq/jsonlab
1054+
https://github.com/NeuroJSON/jsonlab
10551055

10561056
Please report any bugs or issues to the below URL:
10571057

1058-
https://github.com/fangq/jsonlab/issues
1058+
https://github.com/NeuroJSON/jsonlab/issues
10591059

10601060
Sometimes, you may find it is necessary to modify JSONLab to achieve your
10611061
goals, or attempt to modify JSONLab functions to fix a bug that you have
@@ -1068,7 +1068,7 @@ clicking on the "fork" button on top-right of JSONLab's github page. Once you fo
10681068
jsonlab to your own directory, you should then implement the changes in your
10691069
own fork. After thoroughly testing it and you are confident the modification
10701070
is complete and effective, you can then click on the "New pull request"
1071-
button, and on the left, select fangq/jsonlab as the "base". Then type
1071+
button, and on the left, select NeuroJSON/jsonlab as the "base". Then type
10721072
in the description of the changes. You are responsible to format the code
10731073
updates using the same convention (tab-width: 8, indentation: 4 spaces) as
10741074
the upstream code.

jsoncache.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
%
5757
% example:
5858
% [cachepath, filename] = jsoncache('https://neurojson.org/io/stat.cgi?action=get&db=openneuro&doc=ds000001&file=sub-01/anat/sub-01_inplaneT2.nii.gz&size=669578')
59-
% [cachepath, filename] = jsoncache('https://raw.githubusercontent.com/fangq/jsonlab/master/examples/example1.json')
59+
% [cachepath, filename] = jsoncache('https://raw.githubusercontent.com/NeuroJSON/jsonlab/master/examples/example1.json')
6060
% [cachepath, filename] = jsoncache('https://neurojson.io:7777/adhd200/Brown')
6161
% [cachepath, filename] = jsoncache('https://neurojson.io:7777/openneuro/ds003805')
6262
%

loadbidstsv.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
fclose(finput);
3737

3838
if (~exist('gzipdecode', 'file'))
39-
error('To process zipped files, you must install gzipdecode.m from the JSONLab toolbox: http://github.com/fangq/jsonlab');
39+
error('To process zipped files, you must install gzipdecode.m from the JSONLab toolbox: http://github.com/NeuroJSON/jsonlab');
4040
end
4141
fid = char(gzipdecode(tsvdata));
4242
clear tsvdata;

loadjnifti.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
end
4444

4545
if (~exist('savejson', 'file'))
46-
error('you must first install JSONLab from http://github.com/fangq/jsonlab/');
46+
error('you must first install JSONLab from http://github.com/NeuroJSON/jsonlab/');
4747
end
4848

4949
if (regexp(filename, '\.nii$'))

nii2jnii.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
%
5959
% To load gzipped input files (.nii.gz/.hdr.gz/.img.gz), one must
6060
% install the ZMat Toolbox (http://github.com/NeuroJSON/zmat) and
61-
% JSONLab Toolbox (http://github.com/fangq/jsonlab);
61+
% JSONLab Toolbox (http://github.com/NeuroJSON/jsonlab);
6262
%
6363
% To save files into the text/binary JNIfTI formatted files, one
64-
% need to install JSONLab (http://github.com/fangq/jsonlab).
64+
% need to install JSONLab (http://github.com/NeuroJSON/jsonlab).
6565
%
6666
% this file was initially developed for the MCX project: https://github.com/fangq/mcx/blob/master/utils/mcxloadnii.m
6767
%
@@ -95,7 +95,7 @@
9595

9696
if (regexp(hdrfile, '\.[Gg][Zz]$'))
9797
if (~exist('gzipdecode', 'file'))
98-
error('To process zipped files, you must install gzipdecode.m from the JSONLab toolbox: http://github.com/fangq/jsonlab');
98+
error('To process zipped files, you must install gzipdecode.m from the JSONLab toolbox: http://github.com/NeuroJSON/jsonlab');
9999
end
100100
gzdata = gzipdecode(input);
101101
else
@@ -294,7 +294,7 @@
294294

295295
if (nargout == 0 && strcmp(format, 'nii') == 0 && strcmp(format, 'jnii') == 0)
296296
if (~exist('savejson', 'file'))
297-
error('you must first install JSONLab from http://github.com/fangq/jsonlab/');
297+
error('you must first install JSONLab from http://github.com/NeuroJSON/jsonlab/');
298298
end
299299
if (regexp(format, '\.jnii$'))
300300
savejson('', nii, 'FileName', format, varargin{:});

0 commit comments

Comments
 (0)