Closed gaksaray closed 1 year ago
For "echo = None" mode, nbstata
is more robust in this and other ways. Compare:
https://github.com/ticoneva/pystata-kernel/blob/main/pystata-kernel/helpers.py#L158
and
https://github.com/hugetim/nbstata/blob/master/nbstata/stata_more.py#L90
Fixed in the version 0.3.1.
Running a cell with an error twice throws the error instead of the original error:
To demonstrate, say I want to create a table:
Here I intentionally specified
delimiter
option incorrectly, which produces the error as expected. Then I ran the cell again. This time it produces a different (incomprehensible to end user) error:In fact, if I force delete that "program", it reverts back to the original Stata error:
Expected behavior is that it produces the same error
r(198)
as before.