File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 11import base64
2- import logging
32import re
43import tempfile
54import warnings
1615from ..prints .motor_prints import _MotorPrints
1716from ..tools import parallel_axis_theorem_from_com , tuple_handler
1817
19- logger = logging .getLogger (__name__ )
20-
2118
2219# pylint: disable=too-many-public-methods
2320class Motor (ABC ):
@@ -1965,8 +1962,7 @@ def load_from_thrustcurve_api(name: str, **kwargs):
19651962 motor_id = motor_info .get ("motorId" )
19661963 designation = motor_info .get ("designation" , "" ).replace ("/" , "-" )
19671964 manufacturer = motor_info .get ("manufacturer" , "" )
1968- # Logging the fact that the motor was found
1969- logger .info (f"Motor found: { designation } ({ manufacturer } )" )
1965+ warnings .warn (f"Motor found: { designation } ({ manufacturer } )" , UserWarning )
19701966
19711967 # Step 2. Download the .eng file
19721968 dl_response = requests .get (
You can’t perform that action at this time.
0 commit comments