From f7623ceebceace753bbf5738d66af10c100a5d01 Mon Sep 17 00:00:00 2001 From: michael gemmell Date: Thu, 17 Aug 2023 15:50:53 +0100 Subject: [PATCH] precommit formatting --- indica/workflows/abstract_bayes_workflow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/indica/workflows/abstract_bayes_workflow.py b/indica/workflows/abstract_bayes_workflow.py index 3e83fd4e..3221e186 100644 --- a/indica/workflows/abstract_bayes_workflow.py +++ b/indica/workflows/abstract_bayes_workflow.py @@ -31,7 +31,9 @@ def __init__( self.read_data(self.diagnostics) self.setup_models(self.diagnostics) - def read_test_data(self, diagnostic_transforms: dict, tstart=None, tend=None, dt=None): + def read_test_data( + self, diagnostic_transforms: dict, tstart=None, tend=None, dt=None + ): # Used with phantom data for purposes of tests print("Reading fake data") self.equilibrium = fake_equilibrium( @@ -44,7 +46,7 @@ def read_test_data(self, diagnostic_transforms: dict, tstart=None, tend=None, dt def read_data(self, diagnostics: list, tstart=None, tend=None, dt=None): self.reader = ReadST40( - self.pulse, tstart=self.tstart, tend=self.tend, dt=self.dt + self.pulse, tstart=tstart, tend=tend, dt=dt ) self.reader(diagnostics) self.equilibrium = self.reader.equilibrium