Commit 652d2529 authored by Roland Haas's avatar Roland Haas
Browse files

POPWER: use os.split rather than string split

parent a723ad3b
......@@ -390,7 +390,7 @@ if __name__ == "__main__":
for sim_path in paths:
main_dir = sim_path
sim = sim_path.split("/")[-1]
sim = os.path.split(sim_path)[-1]
simdirs = main_dir+"/output-????/%s/" % (sim)
f0 = getCutoffFrequency(sim)
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