Skip to content

Commit

Permalink
Text fixes for V3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wardsimon committed Apr 25, 2019
1 parent 4cac1a6 commit fccdfd2
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Contents.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
% SpinW
% Version 4.0 (unreleased) 29-Nov-2017
% Version 3.1 (unreleased) 29-Nov-2017
%
2 changes: 1 addition & 1 deletion dev/sw_release.m
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function sw_release(verNum, tempDir)
&& (~any(strfind(fList(ii).name,[filesep 'test' filesep]))) ...
&& (~any(strfind(fList(ii).name,[filesep 'tutorials' filesep]))) ...
&& (~any(strfind(fList(ii).folder,'git')))
fListZip{end+1} = [replace(fList(ii).folder, dirname, '') sp fList(ii).name];
fListZip{end+1} = fList(ii).name;
end
end

Expand Down
8 changes: 4 additions & 4 deletions docs/docgenerator/docgen.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
%% setup help generator options

swPath = {'swfiles/@spinw' 'swfiles' 'swfiles/+swplot' 'swfiles/@swpref' 'swfiles/+swsym' 'swfiles/+swfunc' 'swfiles/+ndbase'};
swr = sw_rootdir;
swr = sw_rootdir();
swPath = cellfun(@(C)[swr C],swPath,'UniformOutput',false);
swver = sw_version;
outPath = '~/spinwdoc_git';
docPath = '~/spinw_git/docs';
upload = true;
outPath = fullfile(userpath,'Release','docgen');
docPath = [outPath filesep 'docs'];
upload = false;
recalc = true;

%% generate help
Expand Down
4 changes: 2 additions & 2 deletions swfiles/@spinw/formula.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
% ### Examples
%
% The formula of the crystal stored in the
% [https://goo.gl/do6oTh](https://goo.gl/do6oTh) linked file will be
% [https://raw.githubusercontent.com/SpinW/Models/master/cif/Ca2RuO4.cif](https://raw.githubusercontent.com/SpinW/Models/master/cif/Ca2RuO4.cif) linked file will be
% printed onto the Command Window.
%
% ```
% >>cryst = spinw('https://goo.gl/do6oTh')
% >>cryst = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/Ca2RuO4.cif')
% >>cryst.formula>>
% ```
%
Expand Down
2 changes: 1 addition & 1 deletion swfiles/Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@
% sw_uniquetol
% sw_update
% sw_version
% sw_mex
% sw_mex
2 changes: 1 addition & 1 deletion tutorials/publish/tutorial21/tutorial21.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
% is able to download the file from a given link and create the crystal
% structure.
yig = spinw('https://goo.gl/kQO0FJ');
yig = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/YIG_10K.cif');
% The imported .cif file contains all symmetry operators of its space
% group. SpinW will determine the generators of the space group and stores
Expand Down
2 changes: 1 addition & 1 deletion tutorials/publish/tutorial21/tutorial21.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Sandor Toth
% is able to download the file from a given link and create the crystal
% structure.

yig = spinw('https://goo.gl/kQO0FJ');
yig = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/YIG_10K.cif');

% The imported .cif file contains all symmetry operators of its space
% group. SpinW will determine the generators of the space group and stores
Expand Down
2 changes: 1 addition & 1 deletion tutorials/publish/tutorial31/tutorial31.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
% Where does all the data comes from? edit atom.dat
%
licro = spinw('https://goo.gl/do6oTh');
licro = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/licro2.cif');
licro.formula
Expand Down
2 changes: 1 addition & 1 deletion tutorials/publish/tutorial31/tutorial31.txt
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Ground state energy: -1.000 meV/spin.
% Where does all the data comes from? edit atom.dat
%

licro = spinw('https://goo.gl/do6oTh');
licro = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/licro2.cif');

licro.formula

Expand Down
2 changes: 1 addition & 1 deletion tutorials/publish/tutorial38/tutorial38.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
% atom is the second in position, the corresponding spin quantum number can
% be changed directly.
ca2ruo4 = spinw('https://goo.gl/SYoJVS');
ca2ruo4 = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/Ca2RuO4.cif');
ca2ruo4.unit_cell.S(2) = 1;
plot(ca2ruo4)
Expand Down
2 changes: 1 addition & 1 deletion tutorials/publish/tutorial38/tutorial38.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ title(<span class="string">''</span>)
% atom is the second in position, the corresponding spin quantum number can
% be changed directly.

ca2ruo4 = spinw('https://goo.gl/SYoJVS');
ca2ruo4 = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/Ca2RuO4.cif');

ca2ruo4.unit_cell.S(2) = 1;
plot(ca2ruo4)
Expand Down

0 comments on commit fccdfd2

Please sign in to comment.