Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StudyFramework Plugin
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
Plugins
StudyFramework Plugin
Commits
e61bf22c
Commit
e61bf22c
authored
1 year ago
by
ITC22366\local-study-admin
Browse files
Options
Downloads
Patches
Plain Diff
improve error handling when restoring trial data of unfinished runs
parent
1b76d999
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/StudyFrameworkPlugin/Private/SFMultipleTrialDependentVariable.cpp
+3
-1
3 additions, 1 deletion
...meworkPlugin/Private/SFMultipleTrialDependentVariable.cpp
with
3 additions
and
1 deletion
Source/StudyFrameworkPlugin/Private/SFMultipleTrialDependentVariable.cpp
+
3
−
1
View file @
e61bf22c
...
...
@@ -77,7 +77,9 @@ void USFMultipleTrialDependentVariable::RecoverStudyResultsOfLine(const TArray<F
//so this is the right condition
//these should be in the right order, just double-check
check
(
FCString
::
Atoi
(
*
Entries
[
Header
.
Find
(
"Trial"
)])
==
Values
.
size
())
if
(
FCString
::
Atoi
(
*
Entries
[
Header
.
Find
(
"Trial"
)])
!=
Values
.
size
())
{
FSFLoggingUtils
::
Log
(
"Try to recover trial #"
+
Entries
[
Header
.
Find
(
"Trial"
)]
+
" while already "
+
FString
::
FromInt
(
Values
.
size
())
+
" trial were recovered! (probably jumped back and forth in conditions, this must not happen in a correct run!"
,
true
);
}
std
::
vector
<
FString
>
Data
;
for
(
const
FString
&
SubName
:
SubVariableNames
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment