BlueBrain/eFEL

View on GitHub
examples/deap/deap_efel_eval2.py

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function evaluate has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def evaluate(individual, target_voltage1=-80, target_voltage2=-60):
"""
Evaluate a neuron model with parameters e_pas and g_pas, extracts
features from resulting traces and returns a tuple with
abs(voltage_base-target_voltage1) and
Severity: Minor
Found in examples/deap/deap_efel_eval2.py - About 1 hr to fix
    Category
    Status