gwastro/gwin

View on GitHub
gwin/entropy.py

Summary

Maintainability
A
1 hr
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

if not pdf1:
samples1, _ = numpy.histogram(samples1, bins=bins,
Severity: Minor
Found in gwin/entropy.py and 1 other location - About 30 mins to fix
gwin/entropy.py on lines 42..43

Similar blocks of code found in 2 locations. Consider refactoring.
Open

if not pdf2:
samples2, _ = numpy.histogram(samples2, bins=bins,
Severity: Minor
Found in gwin/entropy.py and 1 other location - About 30 mins to fix
gwin/entropy.py on lines 39..40
Category
Status