klabhub / neurostim

Design and run visual neuroscience experiments using Matlab and the Psychophysics Toolbox.
MIT License
5 stars 4 forks source link

Changes to the default plugin order not respected after 1988ab5 #205

Closed cnuahs closed 1 year ago

cnuahs commented 2 years ago

Commit 1988ab5 re: #190 introduced a bug wherein any changes to the default plugin ordering are immediately reverted in cic.run() when handling adaptive plugins.

On the current master branch this is due to a call to c.order() (without arguments) in cic.handleAdaptives(). Calling c.order() without arguments restores the default plugin order, reverting any changes made by the user.