Open mtillman14 opened 2 years ago
Right now, the workaround is to completely recreate (with GUI) or manually edit the .m specify trials file when switching logsheets. Not great!
I believe the settings should be logsheet-specific now, but only within each project because that is stored in the NonFcnSettingsStruct.
Currently, opening the same SpecifyTrials that is based off of a different logsheet messes everything up. I think maybe the best way to handle changing logsheets (that likely have different column names) is to programmatically comment out the now irrelevant columns in the specify trials .m file, and then add the new columns in.
Then, if I want to switch back to the previous logsheet, it will do the same in reverse (uncommenting the now relevant columns in the .m file, and commenting the recently added columns' metadata.
Basically, SpecifyTrials is only reading from the .m file, when it should be writing to it if the logsheet has changed.