Changes between Initial Version and Version 1 of 2014-09-30


Ignore:
Timestamp:
Sep 30, 2014, 12:52:59 PM (11 years ago)
Author:
Tom Goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2014-09-30

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