File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Framework/DataHandling/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -609,9 +609,9 @@ void LoadNexusLogs::execLoader() {
609
609
try {
610
610
// For period data mark proton charge log value as unfiltered to enable subsequent filtering by period.
611
611
if (workspace->run ().hasProperty (" proton_charge_by_period" )) {
612
- Kernel::PropertyWithValue<int > *pChargeUnfiltered =
613
- new Kernel::PropertyWithValue<int >(workspace->run ().getProtonChargeUnfilteredName (), 1 );
614
- workspace->mutableRun ().addProperty (pChargeUnfiltered, 1 );
612
+ Kernel::PropertyWithValue<bool > *pChargeUnfiltered =
613
+ new Kernel::PropertyWithValue<bool >(workspace->run ().getProtonChargeUnfilteredName (), true );
614
+ workspace->mutableRun ().addProperty (pChargeUnfiltered, true );
615
615
}
616
616
// Try pulling proton charge from the main proton_charge entry
617
617
file.openData (" proton_charge" );
You can’t perform that action at this time.
0 commit comments