Open alexpiet opened 3 weeks ago
@alexpiet it seems like this might be better created after a user tries to starts a session. What is the value of creating it when a user loads a mouse?
@micahwoodard You are right. I think it needs to be created before the session starts.
@alexpiet just an idea but what if we made the model in the Foraging init and then updated it every time one of inputs are changed via the gui? And then save the version used for a session after the session has ended. I think that would make the refactoring part easier since a lot of variables are referenced before a model is currently created and it's hard to tell which ones.
That makes sense to me!
Cool well then disregard the review on the pr. I need to do some refactoring. Is the plan still to add the model into the AIND session metadata file, under parameters to include in NWB file?
Long term, I think thats a good idea. The session metadata is being re-organized right now by some other people. For now I would put it in the behavior
folder alongside the gui log and the .json file
https://allenneuraldynamics.github.io/Aind.Behavior.Services/api.base/session.html
TrainingFolder
directory?