Conditions | 4 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 4 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Contain mechanism for changing position.""" |
||
38 | 1 | @staticmethod |
|
39 | def _fix_coordinates(stage, control_params): |
||
40 | 1 | for index, single_param in enumerate(control_params): |
|
41 | 1 | if single_param > stage.upper_bounds[index]: |
|
42 | 1 | control_params[index] = stage.upper_bounds[index] |
|
43 | 1 | elif single_param < stage.lower_bounds[index]: |
|
44 | 1 | control_params[index] = stage.lower_bounds[index] |
|
45 | return control_params |
||
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__.py
files in your module folders. Make sure that you place one file in each sub-folder.