Skip to main content

Randomization class and models for ambition/edc

Project description

pypi travis codecov downloads


Randomization class and model for Ambition

To load the randomization list:

python import_randomization_list

To rebuild the records in RandomizationList:

from django.core.exceptions import ObjectDoesNotExist
from django.contrib.sites.models import Site
from edc_registration.models import RegisteredSubject
from ambition_rando.models import RandomizationList

current_site = Site.objects.get_current()
for obj in RegisteredSubject.on_site.all():
        randobj = RandomizationList.objects.get(sid=obj.sid)
    except ObjectDoesNotExist:
        print(f'missing for {obj.subject_identifier}, {obj.sid}.')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

ambition_rando-0.1.40-py3-none-any.whl (34.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page