Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bucanl_eeglab_extensions
Batch Context
Commits
c361eb2d
Commit
c361eb2d
authored
Aug 02, 2017
by
Mike Cichonski
Browse files
merge batch_context changes
parents
986bb4cf
28a4ca6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
batch/exec_func/ef_gen_m.m
View file @
c361eb2d
...
...
@@ -92,7 +92,8 @@ if ~strcmp(job_struct.batch_config.software, 'none') ...
'remote_project_work'
,
job_struct
.
context_config
.
remote_project_work
,
...
'remote_dependency'
,
job_struct
.
context_config
.
remote_dependency
,
...
'mount_archive'
,
job_struct
.
context_config
.
mount_archive
,
...
'mount_work'
,
job_struct
.
context_config
.
mount_work
);
'mount_work'
,
job_struct
.
context_config
.
mount_work
,
...
'scheduler'
,
job_struct
.
batch_config
.
exec_func
(
4
:
end
));
if
strcmp
(
job_struct
.
batch_config
.
software
,
'none'
);
batchStr
=
[
'system(
''
'
,
strtrim
(
batchStr
),
'
''
)'
];
...
...
batch/exec_func/ef_get_eegdims.m
View file @
c361eb2d
...
...
@@ -14,7 +14,7 @@
% Copyright (C) 2017 Brock University Cognitive and Affective Neuroscience Lab
%
% Code written by Mi
chael
Cichonski
% Code written by Mi
ke
Cichonski
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
...
...
batch/misc_func/batch_strswap.m
View file @
c361eb2d
...
...
@@ -126,6 +126,7 @@ try g.remote_project_work; catch, g.remote_project_work='';end
try g.remote_dependency; catch, g.remote_dependency='';end
try g.mount_archive; catch, g.mount_archive='';end
try g.mount_work; catch, g.mount_work='';end
try g.scheduler; catch, g.scheduler='';end
%% MODIFY TMPHISTSTR...
%perform replace_string{} swap...
...
...
@@ -155,23 +156,23 @@ end
tmp_histstr=key_strswap(tmp_histstr,'batch_dfn',g.datafname);
% batch_dfp
tmp_histstr=key_strswap(tmp_histstr,'batch_dfp',g.datafpath);
% batch_dfn
tmp_histstr=key_strswap(tmp_histstr,'mfile_name',g.mfile_name);
%current_dir
% current_dir
tmp_histstr=key_strswap(tmp_histstr,'batch_cd',cd);
%log
%
log
tmp_histstr=key_strswap(tmp_histstr,'log',g.log);
%local_project
%
local_project
tmp_histstr=key_strswap(tmp_histstr,'local_project',g.local_project);
%local_dependency
%
local_dependency
tmp_histstr=key_strswap(tmp_histstr,'local_dependency',g.local_dependency);
%remote_project_archive
%
remote_project_archive
tmp_histstr=key_strswap(tmp_histstr,'remote_project_archive',g.remote_project_archive);
%remote_project_work
%
remote_project_work
tmp_histstr=key_strswap(tmp_histstr,'remote_project_work',g.remote_project_work);
%remote_dependency
%
remote_dependency
tmp_histstr=key_strswap(tmp_histstr,'remote_dependency',g.remote_dependency);
%mount_archive
%
mount_archive
tmp_histstr=key_strswap(tmp_histstr,'mount_archive',g.mount_archive);
%mount_work
%
mount_work
tmp_histstr=key_strswap(tmp_histstr,'mount_work',g.mount_work);
% scheduler
tmp_histstr=key_strswap(tmp_histstr,'scheduler',g.scheduler);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment