Skip to content

Commit

Permalink
corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrakshnalbalwar committed Oct 12, 2024
1 parent 73a5678 commit d15a8e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tardis/io/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

from tardis import __path__ as TARDIS_PATH
from tardis import constants as const
from tardis.util.base import atomic_number2element_symbol


logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -204,7 +206,7 @@ def traverse_configs(base, other, func, *args):
traverse_configs(base[k], other[k], func, *args)
elif (
isinstance(base, collections_abc.Iterable)
and not isinstance(base, basestring)
and not isinstance(base, str)
and not hasattr(base, "shape")
):
for val1, val2 in zip(base, other):
Expand Down

0 comments on commit d15a8e8

Please sign in to comment.