Erdnaxela3/bioptim_gui

View on GitHub

Showing 105 of 105 total issues

File not formatted according to black style guide
Open

            )

File not formatted according to black style guide
Open

        x_bounds[-1]["max"][cls.XrotStomach : cls.ZrotShoulder, 2] = 0.01

File not formatted according to black style guide
Open

        return ret

File not formatted according to black style guide
Open

        return np.zeros((nb_phases, cls.nb_tau, 1)) + cls.tau_init

File not formatted according to black style guide
Open

            )

File not formatted according to black style guide
Open

        return ret

Component PythonInterface has 18 number of methods (exceeds 10 allowed). Consider refactoring.
Open

class PythonInterface {
  static final PythonInterface _instance = PythonInterface._internal();
  static PythonInterface get instance => _instance;

  void registerToStatusChanged(Function(PythonInterfaceStatus) callback) =>
Severity: Info
Found in gui/lib/models/python_interface.dart by dart

Function _PathTile.build has a Maintainability Index of 17 (min 40 allowed). Consider refactoring.
Open

  Widget build(BuildContext context) {
    final arguments = penalty.arguments;

    return Consumer<OCPData>(builder: (context, data, child) {
      return AnimatedExpandingWidget(

File not formatted according to black style guide
Open

            return get_constraints()

File not formatted according to black style guide
Open

        return ret

File not formatted according to black style guide
Open

    return SubConverter

File not formatted according to black style guide
Open

    return ret

File not formatted according to black style guide
Open

        bound["max"][dof, node] = value + looseness

File not formatted according to black style guide
Open

            json.dump(data, f)

File not formatted according to black style guide
Open

    return init

File not formatted according to black style guide
Open

    return res

File not formatted according to black style guide
Open

    return copy.deepcopy(dynamics_to_decision_variables[dynamics])

TODO found
Open

                // ), // TODO implement chooser to edit generic ocp bounds

TODO found
Open

    # TODO fill this section

Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
Open

    loaded_data = pkl.loads(pickle_data)
Severity
Category
Status
Source
Language