You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @Doggie52!
Believe SetAlgorithmId() isn't intended to be called by the algorithm itself. Recently we merged PR #4156 where we added a couple of configuration options and cmdline arguments "algorithm-id" & "results-destination-folder", which I think should help solve the underlying issue and avoid calling SetAlgorithmId(). Let us know if this solves the issue and we can close it
Expected Behavior
The
AlgorithmId
set inInitialize()
usingSetAlgorithmId()
is kept constant throughout the life of the algorithm.Actual Behavior
AlgorithmId
is overwritten atLean/Engine/Engine.cs
Line 271 in 642437d
Potential Solution
Perhaps the
job.AlgorithmId
should try to pull its value from the algorithm first?Reproducing the Problem
In
Initialize()
executeSetAlgorithmId( "test" );
. Somewhere outside of this function, debug and inspect the value ofAlgorithmId
.System Information
Windows x64.
Related Issue
#2472
Checklist
master
branchThe text was updated successfully, but these errors were encountered: