Fix write_units_json (#354)

This commit is contained in:
Akash Levy 2025-12-06 08:45:51 -08:00 committed by GitHub
parent 967f512fdc
commit 215a966325
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ proc write_units_json { jsonfile } {
set f [open $jsonfile w]
puts $f "{"
foreach unit {"time" "capacitance" "resistance" "voltage" "current" "power"} {
puts $f " \"$unit\": \"[unit_scaled_suffix $unit]\","
puts $f " \"$unit\": \"[unit_scale_suffix $unit]\","
}
puts $f " \"distance\": \"[unit_scaled_suffix distance]\""
puts $f " \"distance\": \"[unit_scale_suffix distance]\""
puts $f "}"
close $f
}