klabhub / neurostim

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

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

Closed cnuahs closed 9 months ago

cnuahs commented 1 year 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.