Is there any way to take out a component in routine?

816 views
Skip to first unread message

Yune-Sang Lee

unread,
May 21, 2012, 4:10:51 PM5/21/12
to psychop...@googlegroups.com
Dear Psychopy users,
I'd like to remove a key response component that was previously combined with the object component, but it seems that I cannot delete the component once it gets created in a routine. Am I right in assuming so?
I've been just removing the entire routine and creating a new routine to get around, but I'm curious if there is 'indeed' a way of removing a particular component in a routine.
Let me know.

Best,
YSL



Jonathan Peirce

unread,
May 21, 2012, 4:26:33 PM5/21/12
to psychop...@googlegroups.com
right-click on the component and select remove?
> --
> You received this message because you are subscribed to the Google
> Groups "psychopy-users" group.
> To post to this group, send email to psychop...@googlegroups.com.
> To unsubscribe from this group, send email to
> psychopy-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/psychopy-users?hl=en.

--
Jonathan Peirce
Nottingham Visual Neuroscience

http://www.peirce.org.uk/

Yune-Sang Lee

unread,
May 21, 2012, 4:29:54 PM5/21/12
to psychop...@googlegroups.com
Thanks.
I can see that right-click only works when the cursor is above the symbol, not the text description next to that.



On Mon, May 21, 2012 at 4:26 PM, Jonathan Peirce <jon.p...@gmail.com> wrote:
right-click on the component and select remove?


On 21/05/2012 21:10, Yune-Sang Lee wrote:
Dear Psychopy users,
I'd like to remove a key response component that was previously combined with the object component, but it seems that I cannot delete the component once it gets created in a routine. Am I right in assuming so?
I've been just removing the entire routine and creating a new routine to get around, but I'm curious if there is 'indeed' a way of removing a particular component in a routine.
Let me know.

Best,
YSL



--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To post to this group, send email to psychopy-users@googlegroups.com.
To unsubscribe from this group, send email to psychopy-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/psychopy-users?hl=en.

--
Jonathan Peirce
Nottingham Visual Neuroscience

http://www.peirce.org.uk/
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To post to this group, send email to psychopy-users@googlegroups.com.
To unsubscribe from this group, send email to psychopy-users+unsubscribe@googlegroups.com.

pumpkinhead

unread,
Nov 29, 2012, 9:04:33 AM11/29/12
to psychop...@googlegroups.com
Hi,
I can confirm that.
loops can be removed without problems.
for routines, nothing happens.

However, what worked for me is this:
1) If a routine has a loop, first remove the loop.
2) Then "remove" the routine (nothing will happen)
3) Create a loop around another routine... then you will see that the first routine is gone
4) Now, remove the loop that you created in this process

;) This should help you until the problem ist fixed.
Cheers Torsten



Am Donnerstag, 29. November 2012 03:30:50 UTC+1 schrieb Martin:
Jon, I seem to have a similar problem. I right-click on a routine, select "remove", but nothing happens! When I select a routine that has a loop around it it warns me that the loop will collapse, I press OK, but still nothing happens. Is there some setting I have to adjust?

cheers
 Martin

pumpkinhead

unread,
Nov 29, 2012, 9:07:03 AM11/29/12
to psychop...@googlegroups.com
(at least, this works in Linux)
maybe this work around suggests, that there is just an "update"-command missing after removing a routine?
Torsten

Jonathan Peirce

unread,
Nov 29, 2012, 9:35:07 AM11/29/12
to psychop...@googlegroups.com
Hi there,

This was actually a bug that I introduced (in 1.75 I think) and have now fixed. I believe you'll be able to fix it by replacing your builder.py file with this one:
    https://github.com/psychopy/psychopy/blob/master/psychopy/app/builder/builder.py
It will be included in the next release (late december I expect).

For info: Yes, the routine is actually being removed but not updating the view correctly. The problem is that, just before updating the view, builder was updating its 'undo' list (I added code for undo to tell you /what/ it's about to undo). There was a bug in the code that updated that list which meant the update of the flow was never reached.

Jon
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/WC-E0MaM0OQJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jonathan Peirce

unread,
Feb 12, 2013, 12:02:29 PM2/12/13
to psychop...@googlegroups.com
number 3) I think.
Definitely not 1). It won't hurt to change all of 2-4)

On 12/02/2013 16:37, regin...@gmail.com wrote:
Hi Jon,

I just read about your promosing bug fix for the "remove routines from flow"-problem. However, in my python folder, I found 4 different builder.py files in the following 4 folders:

1) ..\Lib\site-packages\lxml-2.3-py2.6-win32.egg\lxml\html
2) ..\Lib\site-packages\PsychoPy-1.74.00-py2.6.egg\psychopy\app\builder
3) ..\Lib\site-packages\PsychoPy-1.74.01-py2.6.egg\psychopy\app\builder
4) ..\Lib\site-packages\PsychoPy-1.74.01-py2.6.egg\psychopy-1.74.01\app\builder

Could you tell which one to replace, please? This would be great!

Thanks,
Regine
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.

To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/veXjQF_z_24J.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

regin...@gmail.com

unread,
Mar 11, 2013, 10:20:56 AM3/11/13
to psychop...@googlegroups.com
Hi Jon,

neither of it worked out. However, installing psychopy 1.76 did!

Thank you though!
Regine
Reply all
Reply to author
Forward
0 new messages