| | 1 | = 30 September 2014 meeting, 11:00 - 12:15 = |
| | 2 | |
| | 3 | == Attendees == |
| | 4 | |
| | 5 | Conrad, Sam, Eric, Greg, TomG |
| | 6 | |
| | 7 | == Agenda == |
| | 8 | |
| | 9 | Should our APIs access only one global session data instance or allow multiple session data instances? |
| | 10 | |
| | 11 | == Action Items == |
| | 12 | |
| | 13 | Greg - Propose a session data API for Thurs Oct 2 meeting |
| | 14 | |
| | 15 | == Results == |
| | 16 | |
| | 17 | **Support multiple session data objects**. |
| | 18 | Discussed whether multiple Chimera sessions within the same Python process should be allowed, or only a single session. |
| | 19 | Decided to support multiple sessions at the Python API level. This will allow the possibility of command-line and GUI tools |
| | 20 | to compare sessions (Sam suggested a tabbed user interface), but we do not plan to implement those user interfaces in the near term. |
| | 21 | |
| | 22 | **Message logging is per-session**. |
| | 23 | Discussed whether logging (errors, info, status) would be global or whether a routine that wanted to issue a log message |
| | 24 | would have to have a logger passed as an argument (or for methods the instance could have a logger attribute). |
| | 25 | Agreed that routines that want to log will take a logger argument that comes from a session. In other words, logging |
| | 26 | will be per-session and not global. |
| | 27 | |
| | 28 | **Exception handling**. |
| | 29 | Discussed how Python exception handling would be logged. Which session would log the exception? Possible solutions |
| | 30 | were that all sessions would log the exception, or the most recently created session. Didn't reach a conclusion on how |
| | 31 | this will be handled. |
| | 32 | |
| | 33 | **Preferences are global**. |
| | 34 | Discussed whether preferences are global or per-session. Decided they are global. Each session can have its own state |
| | 35 | setting such as background color blue, while the preference setting that determines the initial background color is a |
| | 36 | global setting. Discussed the open file history list -- does every session add to the same list? Yes. File history is like other |
| | 37 | hidden preference categories (in Chimera 1 lingo) where preference data is implicitly saved without the user pressing |
| | 38 | a Save Preference button. Eric suggests that each tool save its preferences in a separate file so that every preference |
| | 39 | change does not result in resaving all preferences. |
| | 40 | |
| | 41 | **Trigger notifications**. |
| | 42 | Started discussing whether Chimera 1 triggers would be used in Chimera 2 and how they would operate with multiple sessions. |
| | 43 | Decided to defer this question to another meeting. |
| | 44 | |