gwastro/gwin

View on GitHub
gwin/sampler/kombine.py

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

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

if self.model.return_all_stats:
blob0 = [self.model(p0[wi, :])[1]
for wi in range(self.nwalkers)]
Severity: Major
Found in gwin/sampler/kombine.py and 1 other location - About 1 hr to fix
gwin/sampler/kombine.py on lines 145..147

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

if blob0 is None and self.model.return_all_stats:
blob0 = [self.model(p0[wi, :])[1]
for wi in range(self.nwalkers)]
Severity: Major
Found in gwin/sampler/kombine.py and 1 other location - About 1 hr to fix
gwin/sampler/kombine.py on lines 216..218

There are no issues that match your filters.

Category
Status