lyprox
- This is the module at the heart of LyProX.accounts
- No package docstring; 2/8 modules, 0/2 package documentedadmin
- Undocumentedapps
- Undocumentedforms
- No module docstring; 3/3 classes documentedmanagement
- Undocumentedcommands
- No package docstring; 2/2 modules documentedadd_institutions
- Management command to add institutions from a file or the command line.add_users
- Add users from a JSON file or via command line arguments.migrations
- Undocumented0001_initial
- Undocumentedmixins
- Mixins that ensure safety with respect to who can edit which patients.models
- No module docstring; 0/1 constant, 2/4 classes documentedtests
- Undocumentedurls
- Defines the login and logout views for authenticating users. A sign-up views has not been implemented yet.views
- No module docstring; 1/1 function documenteddataexplorer
- The app dashboard
manages the querying and displaying of lymphatic progression patterns under the "Data Explorer" tab on LyProX.forms
- The dataexplorer.forms
module defines the relatively complex form that is used for querying the database later.query
- Module for translating the user input into a database query. It retrieves the information of interest and returns it in a format that can then be put into the response of the server.urls
- Define the two URLs within the dashboard app (reachable via https://lyprox.org/dashboard). Those are the dashboard itself of course, but also the help menu explaining how to use the former.views
- The views
module in the dataexplorer
app mostly handles the DashboardView
, which takes care of initializing the complex forms.DashboardForm
, passing the cleaned values to all the filtering functions in the ...manage
- Django's command-line utility for administrative tasks.patients
- The patients
app manages the database and its access. It allows the user to create, edit and delete new entries in the database and ensures that it is always consistent.fields
- Here we define custom model fields that add some functionality to the existing Django model fields.filters
- This module defines a django_filters.FilterSet based class that allows relatively easy filtering and sorting of models. In our case, we have implemented only a PatientFilter for the views.PatientListView...forms
- This module defines django.forms.ModelForms for the creation and deletion of the models defined in patients.models. Generally, forms are used to capture user input in django and are rendered out by views into HTML elements.ioports
- Module for importing and exporting CSV tables of patients with lymphatic patterns of progression into and from the Django database.mixins
- Here we define some mixins that add functionality to the patient-related objects. So far, this consists only of a mixin that blocks saving or deleting a Patient
, Tumor
or Diagnose
if the associated Dataset
...models
- This module defines how patient related models work and how they interact with each other. Currently, four models are implemented: The Dataset
, Patient
, Tumor
and the Diagnose
. A Dataset
groups Patient
...urls
- Define the URLs that are available under https://lyprox.org/patients and which of the patients.views
should be called when they are requested.views
- Here, the generic views from django.views.generic are implemented for the patients.models.riskpredictor
- Django app for computing the risk of a particular involvement pattern, given a personalized diagnosis.admin
- Undocumentedapps
- Undocumentedforms
- This module contains the forms used in the riskpredictor app.migrations
- Undocumented0001_initial
- Undocumentedmodels
- The model InferenceResult
holds an upload of parameter samples that were produced during an inference run of the lymph-model. The samples should be fetched from the DVC remote storage and used to compute the prior risk matrices.predict
- Module for functions to predict the risk of lymphatic progression.tests
- Undocumentedurls
- URLs related to the riskpredictor prediction app under https://lyprox.org/riskpredictor. Like the dashboard
, this includes a dashboard and a help page.views
- Module for the views of the riskpredictor app.settings
- Django settings module that defines important configurations. For an explanation of all the listed values, see the official Django documentation.templatetags
- Undocumentedcustomtags
- No module docstring; 0/2 variable, 3/13 functions, 0/1 class documentedurls
- LyProX' URL configuration. This defines the view for the landing page, the URLs for downloads and media and the maintenance page. Otherwise it basically calls the URL configuration from the other apps, ...views
- Define the home view and a maintenance view.wsgi
- Undocumented_version
- Undocumented