Commit 3548ded5 authored by Roland Haas's avatar Roland Haas
Browse files

POWER: fix extracting adm_m2

parent a9ad32e5
...@@ -292,7 +292,7 @@ def getCutoffFrequency(sim_name): ...@@ -292,7 +292,7 @@ def getCutoffFrequency(sim_name):
if(line_elems[0] == "initial-bh-puncture-adm-mass1"): if(line_elems[0] == "initial-bh-puncture-adm-mass1"):
adm_m1 = float(line_elems[-1]) adm_m1 = float(line_elems[-1])
if(line_elems[0] == "initial-bh-puncture-adm-mass2"): if(line_elems[0] == "initial-bh-puncture-adm-mass2"):
adm_m1 = float(line_elems[-1]) adm_m2 = float(line_elems[-1])
elif(out_files): elif(out_files):
out_file = out_files[0] out_file = out_files[0]
with open(out_file) as file: with open(out_file) as file:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment