Skip to content

Commit

Permalink
Improved OS compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
frankNiessen committed Jun 13, 2024
1 parent 49881cc commit eda06b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@
%% Defining crystal structures
scrPrnt('SegmentStart','Initialization');
% Load parent crystal structure
if ~ispc; f = msgbox("Define parent crystal structure"); uiwait(f); end
cif.A = uigetfile('*.cif','Define parent crystal structure',...
[fileparts(mfilename('fullpath')),'\data\input\cifs\']);
[fileparts(mfilename('fullpath')),'/data/input/cifs/.']);
CS.A = loadCIF(cif.A);
% Load daughter crystal structure
if ~ispc; f = msgbox("Define daughter crystal structure"); uiwait(f); end
cif.B = uigetfile('*.cif','Define daughter crystal structure',...
[fileparts(mfilename('fullpath')),'\data\input\cifs\']);
[fileparts(mfilename('fullpath')),'/data/input/cifs/.']);
CS.B = loadCIF(cif.B);
%% Defining lattice correspondance
bCaIni = def_bCa(CS);
Expand Down

0 comments on commit eda06b0

Please sign in to comment.