From 3fc4c3ca7bb5bd5245d3372d01e0db47a5b68d5f Mon Sep 17 00:00:00 2001 From: Pedro Fontanarrosa Date: Tue, 20 Feb 2024 10:03:45 -0800 Subject: [PATCH] Remove unused code in VARinfer.py fixes see to delete this before merging #40 --- BVAR/VARinfer.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/BVAR/VARinfer.py b/BVAR/VARinfer.py index 2937ad4..f4b8541 100644 --- a/BVAR/VARinfer.py +++ b/BVAR/VARinfer.py @@ -201,13 +201,13 @@ def run_inference_large(self): plt.savefig("plot-posterior.pdf") -if __name__ == '__main__': - # Import parameters from JSON file - # FIXME: #40 see to delete this before merging +# if __name__ == '__main__': +# # Import parameters from JSON file +# # FIXME: #40 see to delete this before merging - parameters = read_parameters('parameters.json') - simulator = VARSimulator(**parameters) - simulator.run("VARsim") +# parameters = read_parameters('parameters.json') +# simulator = VARSimulator(**parameters) +# simulator.run("VARsim") - infer = VARInfer(simulator.data) - infer.run_inference() +# infer = VARInfer(simulator.data) +# infer.run_inference()