diff --git a/flopy/mf6/modflow/mfsimulation.py b/flopy/mf6/modflow/mfsimulation.py index 2ede28820c..7595f7c278 100644 --- a/flopy/mf6/modflow/mfsimulation.py +++ b/flopy/mf6/modflow/mfsimulation.py @@ -1793,7 +1793,7 @@ def _append_to_ims_solution_group(self, ims_file, new_models): for index, item in enumerate(record): if record[1] == ims_file or item not in new_models: new_record.append(item) - if index > 1: + if index > 1 and item is not None: rec_model_dict[item.lower()] = 1 if record[1] == ims_file: