| Conditions | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """Contain mechanism for changing position.""" |
||
| 28 | 1 | def update_position(self, velocities, control_params): |
|
| 29 | """Update positions.""" |
||
| 30 | 1 | for stage in velocities: |
|
| 31 | 1 | new_control_params = np.asarray(control_params[stage]) + np.asarray( |
|
| 32 | velocities[stage]) |
||
| 33 | 1 | control_params[stage] = self._fix_coordinates(stage, |
|
| 34 | new_control_params) \ |
||
| 35 | .tolist() |
||
| 36 | 1 | return control_params |
|
| 37 | |||
| 46 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.