This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO 2015-07-21 10:33:33,855 xformserver 31567 159 Received action answer | |
INFO 2015-07-21 10:33:34,095 xformserver 31567 161 Received action submit-all | |
INFO 2015-07-21 10:33:34,250 xformserver 31567 162 Received action answer | |
INFO 2015-07-21 10:33:34,313 xformserver 31567 163 Received action answer | |
INFO 2015-07-21 10:33:35,819 xformserver 31567 164 Received action answer | |
INFO 2015-07-21 10:33:37,506 xformserver 31567 165 Received action answer | |
INFO 2015-07-21 10:33:40,344 xformserver 31567 166 Received action answer | |
INFO 2015-07-21 10:33:46,963 xformserver 31567 167 Received action answer | |
INFO 2015-07-21 10:33:46,996 xformserver 31567 168 Received action answer | |
INFO 2015-07-21 10:33:47,713 xformserver 31567 169 Received action answer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The below work is licensed under Creative Commons GNU LGPL License. | |
Original work: | |
License: http://creativecommons.org/licenses/LGPL/2.1/ | |
Author: Stefan Goessner/2006 | |
Web: http://goessner.net/ | |
Modifications made: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.test.simple import DjangoTestSuiteRunner | |
from django.conf import settings | |
from couchdbkit.ext.django import loading as loading | |
from couchdbkit.resource import ResourceNotFound | |
class CouchDbKitTestSuiteRunner(DjangoTestSuiteRunner): | |
""" | |
A test suite runner for couchdbkit. This offers the exact same functionality | |
as the default django test suite runner, except that it connects all the couchdbkit | |
django-extended models to a test database. The test database is deleted at the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from subprocess import Popen, PIPE, call | |
from fabric.api import * | |
from fabric.contrib.console import confirm | |
# use this instead of os.path.join since remote OS might differ from local | |
PATH_SEP = "/" | |
env.user = 'czue' | |
env.hosts = ['czue.org'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hotshot.stats | |
import sys | |
DEFAULT_LIMIT = 200 | |
def profile(filename, limit=DEFAULT_LIMIT): | |
print "loading profile stats for %s" % filename | |
stats = hotshot.stats.load(filename) | |
# normal stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hotshot.stats | |
import sys | |
DEFAULT_LIMIT = 200 | |
def profile(filename, limit=DEFAULT_LIMIT): | |
print "loading profile stats for %s" % filename | |
stats = hotshot.stats.load(filename) | |
# normal stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script usage: | |
The script currently assumes the existence of two files and of specific formats. | |
dataforwisepillcalculation.csv - a list of patient ids and visit times | |
wisepill.csv - the full log of wisepill openings | |
It outputs a single file: | |
adherence.csv - the patients' adherence scores over each of the visit periods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hotshot.stats | |
import sys | |
DEFAULT_LIMIT = 200 | |
def profile(filename, limit=DEFAULT_LIMIT): | |
print "loading profile stats for %s" % filename | |
stats = hotshot.stats.load(filename) | |
# normal stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: testOTARestoreMultiple (casexml.apps.case.tests.test_multimedia.CaseMultimediaTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "./submodules/casexml-src/casexml/apps/case/tests/test_multimedia.py", line 186, in testOTARestoreMultiple | |
self._validateOTARestore(TEST_CASE_ID, restore_attachments) | |
File "./submodules/casexml-src/casexml/apps/case/tests/test_multimedia.py", line 190, in _validateOTARestore | |
case_xml = case.to_xml(V2) | |
File "./submodules/casexml-src/casexml/apps/case/models.py", line 797, in to_xml | |
elem = get_case_element(self, ('create', 'update'), version) |
OlderNewer