[repros] fixing if the last repro was empty because it was to small
This commit is contained in:
@@ -438,10 +438,19 @@ class StimulusToNix:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
last_repro_name = self.dataset.repro_runs()[i - 1].name
|
last_repro_name = self.dataset.repro_runs()[i - 1].name
|
||||||
last_repro_position = (
|
try:
|
||||||
self.block.groups[last_repro_name].tags[0].position[0]
|
log.debug("Did find the last repro")
|
||||||
+ self.block.groups[last_repro_name].tags[0].extent[0]
|
last_repro_position = (
|
||||||
)
|
self.block.groups[last_repro_name].tags[0].position[0]
|
||||||
|
+ self.block.groups[last_repro_name].tags[0].extent[0]
|
||||||
|
)
|
||||||
|
except KeyError:
|
||||||
|
log.debug("Last repro did not exit")
|
||||||
|
log.info("Finish writing")
|
||||||
|
break
|
||||||
|
embed()
|
||||||
|
exit()
|
||||||
|
|
||||||
self._append_tag(
|
self._append_tag(
|
||||||
repro,
|
repro,
|
||||||
last_repro_position.reshape(-1, 1),
|
last_repro_position.reshape(-1, 1),
|
||||||
|
|||||||
Reference in New Issue
Block a user