Skip to content

Commit 82728e5

Browse files
committed
process execute bug fix
Fixed bug where execute would not run if args were needed
1 parent c7b31d5 commit 82728e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngcsimlib/compilers/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def execute(self, update_state=False, **kwargs):
144144
for arg in self._needed_args:
145145
if arg not in kwargs.keys():
146146
warn("Missing kwarg", arg, "in kwargs for Process", self.name)
147-
return
147+
return
148148
state = self.pure(self.get_required_state(include_special_compartments=True), **kwargs)
149149
if update_state:
150150
self.updated_modified_state(state)

0 commit comments

Comments
 (0)