Skip to content
Snippets Groups Projects
calculation_rules.py 584 B
Newer Older
File consists of several functions for the calculation rules of FAIR Quality KPIs
Richter, Manuela's avatar
Richter, Manuela committed
def test_function():
    print("You called the test function.")
Hock, Martin's avatar
Hock, Martin committed
# Function to calculate KPIS that use sums
# Or function to calculate the mass with sum?
def kpi_sum(*args):
    return sum(args[0])
    # if arguments are handed over not as a list: sum(list(args))

Hock, Martin's avatar
Hock, Martin committed
# KPI for calculating some real complicated metric


if __name__ == "__main__":
    print(
        "This script contains functions for calculating the FAIR Quality KPIs. It is not to be executed independently."
    )
    pass