lava
lava copied to clipboard
No data after runtime pause
Objective of issue:
Lava version:
- [x] 0.4.0 (current version)
I'm submitting a ...
- [x] bug report
Current behavior:
- I'm creating a process that halts runtime when a condition is reached. Runtime halts, but the data and variables within the process are all None type
Expected behavior:
- Data and variables within process are still accessible
Steps to reproduce:
- (inside of run_spk()):
- if condition: self.pause()
- (in jupyter notebook):
- var.v.get() -- returns None
Related code:
insert short code snippets here
Other information:
insert the output from lava debug here
@ysingh7 this seems like a bug. When we pause() from within a PyProcModel, state should be preserved. If this is currently just not implemented an error message should say so and where the problem arises.
@epaxon Can you please post the code snippet using which I can reproduce this error?
@epaxon @ysingh7 is this still relevant?