Skip to content

Commit

Permalink
fixes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Nov 18, 2019
1 parent bd87658 commit e815538
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/adl2pydm/output_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,9 +621,10 @@ def write_block_valuator(self, parent, block, nm, qw):
self.write_direction(qw, block)
self.write_limits(qw, block)

precision = block.contents.get("dPrecision")
if precision is not None:
self.writer.writeProperty(qw, "precision", str(precision), tag="number")
# 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")

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

0 comments on commit e815538

Please sign in to comment.