Skip to content
Snippets Groups Projects
Commit ba59cf9f authored by preischig's avatar preischig
Browse files

gtINDEXCreateInputData: small bug fix


Signed-off-by: default avatarpreischig <preischig@gmail.com>
parent 5c1239ec
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,11 @@ fprintf('\nLoading reflections from database...\n') ...@@ -84,7 +84,11 @@ fprintf('\nLoading reflections from database...\n')
% are we using lines with grain positions? % are we using lines with grain positions?
[test, ~,~,~,~,~] = mym(sprintf('show columns from %s like "g3dX"', pairtable)); [test, ~,~,~,~,~] = mym(sprintf('show columns from %s like "g3dX"', pairtable));
test = strcmp(test{1}, 'g3dX'); if isempty(test)
test = false;
else
test = strcmp(test{1}, 'g3dX');
end
% All the pair data are loaded in 'tot' % All the pair data are loaded in 'tot'
if ~test if ~test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment