On 2 April 2016 at 22:45,  <tlin...@nmr-relax.com> wrote:
> Author: tlinnet
> Date: Sat Apr  2 22:45:58 2016
> New Revision: 28199
>
> URL: http://svn.gna.org/viewcvs/relax?rev=28199&view=rev
> Log:
> When the userfunction script() is called, a notification of pipe_alteration 
> is made.
>
> This will force the GUI to update, and make sure that it is up to-date.
>
> Modified:
>     trunk/pipe_control/script.py
>
> Modified: trunk/pipe_control/script.py
> URL: 
> http://svn.gna.org/viewcvs/relax/trunk/pipe_control/script.py?rev=28199&r1=28198&r2=28199&view=diff
> ==============================================================================
> --- trunk/pipe_control/script.py        (original)
> +++ trunk/pipe_control/script.py        Sat Apr  2 22:45:58 2016
> @@ -68,3 +68,6 @@
>
>      # Return the function intro flag to the original value.
>      status.uf_intro = orig_intro_state
> +
> +    # Make a notification of pipe_alteration, so the GUI will update.
> +    status.observers.pipe_alteration.notify()

Hmmm, this seems like a hack that will come back and bite us in the
future.  Maybe we need a general status.observers.update object for
such a purpose?

Regards,

Edward

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to