Skip to content

Commit 4ff39bf

Browse files
committed
Remove double quotes
1 parent 2c48d73 commit 4ff39bf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

clearpath_config/manipulators/types/manipulator.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def name(self) -> str:
5858
@name.setter
5959
def name(self, name: str) -> None:
6060
assert isinstance(name, str), (
61-
"Manipulator pose name must be of type str")
61+
'Manipulator pose name must be of type str')
6262
self._name = name
6363

6464
@property
@@ -68,9 +68,9 @@ def joints(self) -> list:
6868
@joints.setter
6969
def joints(self, joints: List) -> None:
7070
assert isinstance(joints, list), (
71-
"Manipulator pose joints must be of type list")
71+
'Manipulator pose joints must be of type list')
7272
assert len(joints) == self.joint_count, (
73-
f"Manipulator pose joints must of length {self.joint_count}, got {len(joints)}")
73+
f'Manipulator pose joints must of length {self.joint_count}, got {len(joints)}')
7474
self._joints = joints
7575

7676
def to_dict(self) -> dict:
@@ -80,9 +80,9 @@ def to_dict(self) -> dict:
8080
}
8181

8282
def from_dict(self, d: dict) -> None:
83-
assert isinstance(d, dict), ("Poses in list must be of type dict.")
84-
assert 'name' in d, ("Pose must have a name entry.")
85-
assert 'joints' in d, ("Pose must have a joints entry.")
83+
assert isinstance(d, dict), ('Poses in list must be of type dict.')
84+
assert 'name' in d, ('Pose must have a name entry.')
85+
assert 'joints' in d, ('Pose must have a joints entry.')
8686
self.name = d['name']
8787
self.joints = d['joints']
8888

@@ -212,7 +212,7 @@ def poses(self) -> List:
212212

213213
@poses.setter
214214
def poses(self, pose_list: List) -> None:
215-
assert isinstance(pose_list, list), ("List of poses must be of type list.")
215+
assert isinstance(pose_list, list), ('List of poses must be of type list.')
216216
poses_ = []
217217
for pose in pose_list:
218218
manipulator_pose = ManipulatorPose(self.JOINT_COUNT)

0 commit comments

Comments
 (0)