Commit ca895bf4 authored by Jibril Mammeri's avatar Jibril Mammeri
Browse files

Improve lsmot command

parent 3515bdfe
Pipeline #39059 passed with stages
in 92 minutes and 28 seconds
......@@ -354,7 +354,8 @@ class MapWithAliases(Map):
def get_axes_names_iter(self):
for axis in self.get_axes_iter():
yield axis.name
if axis.positioner:
yield axis.name
def get_axes_positions_iter(self, on_error=None):
def request(axis):
......
......@@ -177,4 +177,3 @@ def fill_positioners(scan):
rd["positioners_units"] = units
return rd
......@@ -526,12 +526,12 @@ def wa(**kwargs):
print(_tabulate(table))
def lsmot(**kwargs):
def lsmot():
"""
Displays names of all motors
"""
for name, _, _, _ in iter_axes_position_all(**kwargs):
for name in global_map.get_axes_names_iter():
print("* {}".format(name))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment