Data Structures | |
class | VersionMismatchError |
Functions | |
def | check_match (foreign_id, onmismatch="raise") |
If foreign_id != id, perform an action specified by the onmismatch kwarg. More... | |
Variables | |
string | id = "ef4fb446bce5f203267c89cc341bec3ec493cac0" |
string | date = "2024-10-2 09:10:20 +0000" |
string | branch = "None" |
string | tag = "None" |
string | author = "Karl Wette <karl.wette@ligo.org>" |
string | builder = "Unknown User <>" |
string | committer = "Karl Wette <karl.wette@ligo.org>" |
string | status = "CLEAN: All modifications committed" |
string | version = id |
string | verbose_msg |
def lal.git_version.check_match | ( | foreign_id, | |
onmismatch = "raise" |
|||
) |
If foreign_id != id, perform an action specified by the onmismatch kwarg.
This can be useful for validating input files.
onmismatch actions: "raise": raise a VersionMismatchError, stating both versions involved "warn": emit a warning, stating both versions involved
Definition at line 54 of file git_version.py.
string lal.git_version.id = "ef4fb446bce5f203267c89cc341bec3ec493cac0" |
Definition at line 23 of file git_version.py.
string lal.git_version.date = "2024-10-2 09:10:20 +0000" |
Definition at line 24 of file git_version.py.
string lal.git_version.branch = "None" |
Definition at line 25 of file git_version.py.
lal.git_version.tag = "None" |
Definition at line 26 of file git_version.py.
string lal.git_version.author = "Karl Wette <karl.wette@ligo.org>" |
Definition at line 29 of file git_version.py.
string lal.git_version.builder = "Unknown User <>" |
Definition at line 30 of file git_version.py.
string lal.git_version.committer = "Karl Wette <karl.wette@ligo.org>" |
Definition at line 31 of file git_version.py.
string lal.git_version.status = "CLEAN: All modifications committed" |
Definition at line 32 of file git_version.py.
string lal.git_version.version = id |
Definition at line 33 of file git_version.py.
string lal.git_version.verbose_msg |
Definition at line 34 of file git_version.py.