![]() |
Belle II Software
release-06-00-14
|
Public Member Functions | |
def | __init__ (self, working_folder) |
def | create_comparison (self) |
def | index (self) |
def | plots (self, *args) |
def | check_comparison_status (self) |
def | revisions (self, revision_label=None) |
def | comparisons (self, comparison_label=None) |
def | system_info (self) |
Public Attributes | |
working_folder | |
html folder that contains plots etc. | |
last_restart | |
Date when this object was instantiated. | |
version | |
Git version. | |
Root Validation class to handle non-static HTTP requests into the validation server. The two main functions are to hand out compiled json objects of revisions and comparisons and to start and monitor the creation of comparison plots.
Definition at line 169 of file validationserver.py.
def __init__ | ( | self, | |
working_folder | |||
) |
class initializer, which takes the path to the folders containing the validation run results and plots (aka comparison)
Definition at line 179 of file validationserver.py.
def check_comparison_status | ( | self | ) |
Checks on the status of a comparison creation
Definition at line 244 of file validationserver.py.
def comparisons | ( | self, | |
comparison_label = None |
|||
) |
return the json file of the comparison results of one specific comparison
Definition at line 359 of file validationserver.py.
def create_comparison | ( | self | ) |
Triggers the start of a now comparison between the revisions supplied in revision_list
Definition at line 199 of file validationserver.py.
def index | ( | self | ) |
forward to the static landing page if the default url is used (like http://localhost:8080/)
Definition at line 212 of file validationserver.py.
def plots | ( | self, | |
* | args | ||
) |
Serve file from the html/plot directory. :param args: For the request /plots/a/b/c, these will be the strings "a", "b", "c"
Definition at line 220 of file validationserver.py.
def revisions | ( | self, | |
revision_label = None |
|||
) |
Return a combined json object with all revisions and mark the newest one with the field most_recent=true
Definition at line 255 of file validationserver.py.
def system_info | ( | self | ) |
Returns: JSON file containing git versions and time of last restart
Definition at line 388 of file validationserver.py.