sardana-org / sardana

Moved to GitLab: https://gitlab.com/sardana-org/sardana
39 stars 52 forks source link

User defined on_stop function for all scans (SF#356) #202

Open sf-migrator-bot opened 9 years ago

sf-migrator-bot commented 9 years ago

Hello, our users want to have the possibility of adding any action in the on_stop function of all scan macros without having to define a new class/macro for that. It is similar to the request of the 'by default user defined hooks': they want to use the original scan macros but having a way of changing the on_stop function by the users.

                Regards,
                             Teresa

Reported by: teresanunez ( http://sf.net/u/tere29 )

Original Ticket: sardana/tickets/356

sf-migrator-bot commented 9 years ago

Hi, only to avoid parallel work ... I am working on this implementation.

          Regards,
                      Teresa

Original comment by: teresanunez (http://sf.net/u/tere29)

sf-migrator-bot commented 8 years ago

Original comment by: reszelaz (http://sf.net/u/zreszela)

reszelaz commented 6 years ago

Idealy we should use the hooks concept for that together with the General Hooks just to not reinvent the wheel...

This may be blocked by #10 but I would check how does it work as on today cause we have changed things when handling stop/abort of macros.