Skip to content

Commit

Permalink
Remove extra caret in units with exponents.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Brandt committed Jan 17, 2025
1 parent 9e2454d commit 53539b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lattice/docs/schema_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def data_elements_dict_from_data_groups(data_groups):
new_obj["Units"] = r"\-"
else:
new_obj["Units"] = new_obj["Units"].replace("-", r"·")
new_obj["Units"] = re.sub(r"(\d+)", r"^\1^", new_obj["Units"])
new_obj["Units"] = re.sub(r"(\d+)", r"^\1", new_obj["Units"])
compress_notes(new_obj)
data_elements.append(new_obj)
output[dat_gr] = data_elements
Expand Down

0 comments on commit 53539b2

Please sign in to comment.