diff --git a/Framework/DataHandling/src/LoadNexusLogs.cpp b/Framework/DataHandling/src/LoadNexusLogs.cpp
index 7cbdbc6e0072621bb0da94df04ae151cf41be647..305b7090fcdff0c0a67dcf33ee7a55f4e54c0189 100644
--- a/Framework/DataHandling/src/LoadNexusLogs.cpp
+++ b/Framework/DataHandling/src/LoadNexusLogs.cpp
@@ -390,7 +390,8 @@ void LoadNexusLogs::loadNPeriods(
     API::Run &run = workspace->mutableRun();
     const std::string protonChargeByPeriodLabel = "proton_charge_by_period";
     if (!run.hasProperty(protonChargeByPeriodLabel)) {
-      run.addProperty(new ArrayProperty<double>(protonChargeByPeriodLabel, protonChargeByPeriod));
+      run.addProperty(new ArrayProperty<double>(protonChargeByPeriodLabel,
+                                                protonChargeByPeriod));
     }
     file.closeGroup();
   } catch (::NeXus::Exception &) {
diff --git a/Framework/DataHandling/test/LoadNexusLogsTest.h b/Framework/DataHandling/test/LoadNexusLogsTest.h
index 02680ca3917a18d1c39101dbc53a79931aa82881..ac217f46c6306012bba2a8d057f8ab9b51bef63d 100644
--- a/Framework/DataHandling/test/LoadNexusLogsTest.h
+++ b/Framework/DataHandling/test/LoadNexusLogsTest.h
@@ -12,7 +12,6 @@
 #include "MantidDataObjects/Workspace2D.h"
 #include "MantidKernel/PhysicalConstants.h"
 
-
 using namespace Mantid;
 using namespace Mantid::Geometry;
 using namespace Mantid::API;
@@ -171,10 +170,14 @@ public:
                       uniquePeriods.size());
 
     const bool hasProtonChargeByPeriod = run.hasProperty("run_title");
-    TSM_ASSERT("Should have extracted proton_charge_by_period log.", hasProtonChargeByPeriod);
-
-    std::vector<double> protonChargeByPeriod = run.getPropertyValueAsType<std::vector<double>>("proton_charge_by_period");
-    TSM_ASSERT_EQUALS("Should have four proton charge entries", 4, protonChargeByPeriod.size());
+    TSM_ASSERT("Should have extracted proton_charge_by_period log.",
+               hasProtonChargeByPeriod);
+
+    std::vector<double> protonChargeByPeriod =
+        run.getPropertyValueAsType<std::vector<double>>(
+            "proton_charge_by_period");
+    TSM_ASSERT_EQUALS("Should have four proton charge entries", 4,
+                      protonChargeByPeriod.size());
   }
 
   void test_extract_run_title_from_event_nexus() {