| 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.""" |
||
| 36 | 1 | @staticmethod |
|
| 37 | def _fix_coordinates(stage, control_params): |
||
| 38 | 1 | for index, single_param in enumerate(control_params): |
|
| 39 | 1 | if single_param > stage.upper_bounds[index]: |
|
| 40 | 1 | control_params[index] = stage.upper_bounds[index] |
|
| 41 | 1 | elif single_param < stage.lower_bounds[index]: |
|
| 42 | 1 | control_params[index] = stage.lower_bounds[index] |
|
| 43 | return control_params |
||
| 44 |
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.