Showing 132 of 200 total issues
Avoid deeply nested control flow statements. Open
Open
for l in remove_list:
time[j].pop(l)
raw_data[7].pop(l)
dictionary = {
Avoid deeply nested control flow statements. Open
Open
if isinstance(fixed_pulse_duration, list):
parameters_bounds.add(
parameter_name,
min_bound=np.array(fixed_pulse_duration),
max_bound=np.array(fixed_pulse_duration),
Function _build_phase_parameter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _build_phase_parameter(n_stim, final_time, frequency=None, pulse_mode="single", round_down=False):
Function cn_dot_fun
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def cn_dot_fun(
Function get_circle_coord
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_circle_coord(
Function configure_time_state_force_no_cross_bridge
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def configure_time_state_force_no_cross_bridge(
Function configure_force
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def configure_force(
Function integrate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def integrate(
Function _set_bounds
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _set_bounds(bio_models, fes_muscle_models, bound_type, bound_data, n_stim, initial_state):
Function configure_ca_troponin_complex
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def configure_ca_troponin_complex(
Function stimulation_detection
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def stimulation_detection(
Function _sanity_check_id
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _sanity_check_id(
Function prepare_ocp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def prepare_ocp(
Function configure_scaling_factor
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def configure_scaling_factor(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function force_at_node_in_ocp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def force_at_node_in_ocp(time, force, n_shooting, final_time_phase, sparse=None):
Function prepare_ocp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def prepare_ocp(
Function _set_bounds
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _set_bounds(model=None, n_stim=None, n_shooting=None, force_tracking=None, discontinuity_in_ocp=None):
Function _build_phase_time
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _build_phase_time(final_time, n_stim, pulse_mode, time_min, time_max):
Function configure_cross_bridges
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def configure_cross_bridges(