Commit 49c9bbf6 authored by Jonas Schwab's avatar Jonas Schwab
Browse files

Fix in directory_name

parent 7d255917
......@@ -218,8 +218,9 @@ def directory_name(ham_name, sim_dict):
dirname = '{}_'.format(ham_name)
for name, value in sim_dict.items():
if name.upper() in p_list:
if name.upper() == 'MODEL' and value != ham_name:
dirname = '{}{}_'.format(dirname, value)
if name.upper() == 'MODEL':
if value != ham_name:
dirname = '{}{}_'.format(dirname, value)
elif name.upper() == "LATTICE_TYPE":
dirname = '{}{}_'.format(dirname, value)
else:
......
Supports Markdown
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