gwastro/gwin

View on GitHub
test/test_sampler.py

Summary

Maintainability
A
55 mins
Test Coverage

Showing 1 of 1 total issue

Function prior_eval has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
Open

def prior_eval(self):
""" Returns the joint distribution class initialized with a set of
pre-defined distributions for each parameters.
"""
parameters, values = zip(*self.parameters.items())
Severity: Minor
Found in test/test_sampler.py - About 55 mins to fix
Category
Status