skip to navigation
skip to content

Not Logged In

pycogworks.gui 0.4.0

GUI functions used in the CogWorks lab.

Latest Version: 0.4.1

Installation

pycogworks.gui can be installed with 'pip':

# pip install pycogworks.gui

Dependencies

pycogworks.gui has the following dependencies:

Documentation

pycogworks.gui.getSubjectInfo

Creates a GUI dialog to collect subject information. The default dialog collects subjects first name, last name and RIN. Additional fields can be collected by passing an array of field names to getSubjectInfo. getSubjectInfo returns a dict of subject information where the keys are the field names converted to lower case and spaces replaced with underscores. The RIN field is automatically encrypted using pycogworks.rin2id and stored in the 'encrypted_rin' field.

>>> getSubjectInfo(["Age"])
{'rin': u'123456789', 'first_name': u'Foo', 'last_name': u'Bar', 'age': u'18'}
http://ompldr.org/vZm5ldw

pycogworks.gui.doQuestionnaire

THIS NEED DOCUMENTATION AND AN EAMPLE!!!

 
File Type Py Version Uploaded on Size
pycogworks.gui-0.4.0.tar.gz (md5) Source 2012-11-07 4KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 56 downloads in the last week
  • 229 downloads in the last month