From f1732c8b023cbdc8d7308d1412fcf14f9b88af6f Mon Sep 17 00:00:00 2001 From: David Date: Sun, 3 Jun 2018 20:27:56 +0200 Subject: [PATCH] python 2to3 tool lib2to3.fixes.fix_input --- IOMC/EventVertexGenerators/test/calculate_beamwidth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IOMC/EventVertexGenerators/test/calculate_beamwidth.py b/IOMC/EventVertexGenerators/test/calculate_beamwidth.py index f6f5910c1c5ac..040dad9eaff13 100755 --- a/IOMC/EventVertexGenerators/test/calculate_beamwidth.py +++ b/IOMC/EventVertexGenerators/test/calculate_beamwidth.py @@ -16,9 +16,9 @@ import math -beam = input("beam energy in GeV: ") -betastar = input("beta-star in m: ") -normemittance = input("normalized emittance in m: ") +beam = eval(input("beam energy in GeV: ")) +betastar = eval(input("beta-star in m: ")) +normemittance = eval(input("normalized emittance in m: ")) gamma = beam/0.9383