Skip to content

Commit a786b2e

Browse files
committed
Fix to type of parameter
1 parent 2ce9bbd commit a786b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tlo/methods/collect_event_chains.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def read_parameters(self, resourcefilepath: Optional[Path] = None):
5252

5353
# If modules of interest is '*', set by default to all modules included in the simulation
5454
if self.parameters["modules_of_interest"] == ['*']:
55-
self.parameters["modules_of_interest"] = self.sim.modules.keys()
55+
self.parameters["modules_of_interest"] = list(self.sim.modules.keys())
5656

5757
def initialise_population(self, population):
5858
pass

0 commit comments

Comments
 (0)