From 1b2754c6eaaa606bef0f675f1ccd1b8d21c3f86c Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Mon, 2 May 2022 15:59:23 -0400 Subject: [PATCH] more python format --- examples/hello/datamanReader/helloDataManReader.py | 2 +- examples/hello/datamanWriter/helloDataManWriter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hello/datamanReader/helloDataManReader.py b/examples/hello/datamanReader/helloDataManReader.py index 6b1dc00668..87248b6a64 100644 --- a/examples/hello/datamanReader/helloDataManReader.py +++ b/examples/hello/datamanReader/helloDataManReader.py @@ -19,7 +19,7 @@ adios = adios2.ADIOS(comm) io = adios.DeclareIO("whatever") io.SetEngine("DataMan") -io.SetParameters({"IPAddress":"127.0.0.1","Port":"12306","Timeout":"5"}) +io.SetParameters({"IPAddress": "127.0.0.1", "Port": "12306", "Timeout": "5"}) engine = io.Open('HelloDataMan', adios2.Mode.Read, comm) diff --git a/examples/hello/datamanWriter/helloDataManWriter.py b/examples/hello/datamanWriter/helloDataManWriter.py index 6b1dd51009..e23774cb38 100644 --- a/examples/hello/datamanWriter/helloDataManWriter.py +++ b/examples/hello/datamanWriter/helloDataManWriter.py @@ -33,7 +33,7 @@ adios = adios2.ADIOS(comm) io = adios.DeclareIO("whatever") io.SetEngine("DataMan") -io.SetParameters({"IPAddress":"127.0.0.1","Port":"12306","Timeout":"5"}) +io.SetParameters({"IPAddress": "127.0.0.1", "Port": "12306", "Timeout": "5"}) var = io.DefineVariable( "FloatArray", floatArray, shape, start, count, adios2.ConstantDims)