diff --git a/.mailmap b/.mailmap index e06791f37dd..b6f14513320 100644 --- a/.mailmap +++ b/.mailmap @@ -70,6 +70,9 @@ Frederik Beaujean Frederik Beaujean Gaurav Gautam gautam1168 +Gerrit Leck +Gerrit Leck Gerrit Leck + Isaac Smith Isaac Smith Isaac Smith <71480393+smithis7@users.noreply.github.com> Isaac Smith smithis7 <71480393+smithis7@users.noreply.github.com> diff --git a/tardis/plasma/properties/atomic.py b/tardis/plasma/properties/atomic.py index d073c70030b..236edb01ecc 100644 --- a/tardis/plasma/properties/atomic.py +++ b/tardis/plasma/properties/atomic.py @@ -632,7 +632,7 @@ def _filter_atomic_property(self, zeta_data, selected_atoms): zeta_data_check = counter(zeta_data.atomic_number.values) keys = np.array(list(zeta_data_check.keys())) values = np.array(zeta_data_check.values()) - if np.alltrue(keys + 1 == values): + if np.alltrue(keys + 1 == values) and keys: return zeta_data else: # raise IncompleteAtomicData('zeta data')