Skip to content
Snippets Groups Projects
Commit c084827c authored by dcluet's avatar dcluet
Browse files

Fix bug in recycling parameters

parent 3e33e88c
Branches master
No related tags found
No related merge requests found
...@@ -164,18 +164,23 @@ macro "Main"{ ...@@ -164,18 +164,23 @@ macro "Main"{
/* /*
============================================================================ ============================================================================
SELECT THE CHANNEL SELECT THE CHANNEL AND LOOP OF PARAMETERS CREATION
============================================================================ ============================================================================
*/ */
//Launch Channel Selection //Launch Channel Selection
ArgChannel = myAnalysis + "*"; if (myReuse == "NO"){
ArgChannel += myReuse; ArgChannel = myAnalysis + "*";
myChannel = runMacro(PathSelChannel, ArgChannel); ArgChannel += myReuse;
myChannel = runMacro(PathSelChannel, ArgChannel);
}else{
myChannel = "None;None";
}
/* /*
============================================================================ ============================================================================
LOOP OF PARAMETERS CREATION LOOP OF PARAMETERS CREATION
============================================================================ ============================================================================
*/ */
......
...@@ -67,7 +67,7 @@ macro "Taylor"{ ...@@ -67,7 +67,7 @@ macro "Taylor"{
nFiles = FileList.length; nFiles = FileList.length;
if (myReuse == "YES"){ if (myReuse == "YES"){
RecycleSetUp() RecycleSetUp();
} }
if (myReuse == "NO"){ if (myReuse == "NO"){
...@@ -262,13 +262,18 @@ function RecycleSetUp(){ ...@@ -262,13 +262,18 @@ function RecycleSetUp(){
//Use the correct concatenated arguments //Use the correct concatenated arguments
Arguments = split(myCommandsList[c], "*"); Arguments = split(myCommandsList[c], "*");
Sstart = parseFloat(Arguments[14]); Sstart = Arguments[15];
Send = parseFloat(Arguments[15]); Send = Arguments[16];
NeuroPilXtext = Arguments[16]; NeuroPilXtext = Arguments[17];
NeuroPilYtext = Arguments[17]; NeuroPilYtext = Arguments[18];
Path = Arguments[18]; Path = Arguments[19];
myRoot = Arguments[19]; myRoot = Arguments[20];
myProgress = parseFloat(Arguments[20]); myProgress = Arguments[21];
//Channel to be treated
channels = split(Arguments[25], ";");
myChannel = channels[0];
myChannelContrast = channels[1];
//Generate the paramaters of analysis of the current stack //Generate the paramaters of analysis of the current stack
ARG = ARGcommon; ARG = ARGcommon;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment