Allow to use scan_info at prepare, with protection
This MR allow to use run(user_info)
Without, if prepare
is called at the creation (always when run=False
), run()
will not call prepare and then will not store user_info
.
This make it work, and prevent wrong call sequence to occur.