benvial/gyptis

View on GitHub
tutorials/optimization/plot_optim.py

Summary

Maintainability
A
1 hr
Test Coverage

Function callback has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def callback(self):
    global jopt
    proj = self.proj_level is not None
    filt = self.filter != 0
    density_fp = density_proj_filt(self, self.density, proj, filt, filtering_type)
Severity: Minor
Found in tutorials/optimization/plot_optim.py - About 1 hr to fix

    Function density_proj_filt has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def density_proj_filt(self, density, proj, filt, filtering_type):
    Severity: Minor
    Found in tutorials/optimization/plot_optim.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status