Skip to content

Commit

Permalink
fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Mar 23, 2020
1 parent 9a879f7 commit e28b5d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/adl2pydm/output_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,13 +869,15 @@ def write_block_valuator(self, parent, block, nm, qw):
self.write_limits(qw, block)

# TODO:
# TODO: https://github.com/BCDA-APS/adl2pydm/issues/50
# self.assertEqualPropertyBool(w, "showValueLabel", False)
# self.assertEqualPropertyBool(w, "showLimitLabels", False)

# TODO: https://github.com/BCDA-APS/adl2pydm/issues/37
# precision = block.contents.get("dPrecision")
# if precision is not None:
# self.writer.writeProperty(qw, "precision", str(precision), tag="number")
precision = block.contents.get("dPrecision")
if precision is not None:
self.writer.writeProperty(
qw, "precision", str(precision), tag="number")

def write_block_wheel_switch(self, parent, block, nm, qw):
pv = self.get_channel(block.contents["control"])
Expand Down

0 comments on commit e28b5d6

Please sign in to comment.