Skip to content

Commit 78eb563

Browse files
committed
Fix minor bug of float output in sinex header
1 parent ee5c057 commit 78eb563

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

geodepy/gnss.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -765,9 +765,9 @@ def remove_velocity_sinex(sinex):
765765
old_creation_time = header[15:27]
766766
creation_time = set_creation_time()
767767
header = header.replace(old_creation_time, creation_time)
768-
old_num_params = header[60:65]
769-
num_params = int(old_num_params) / 2
770-
header = header.replace(old_num_params, str(num_params))
768+
old_num_params = int(header[60:65])
769+
num_params = int(old_num_params / 2)
770+
header = header.replace(str(old_num_params), str(num_params))
771771
header = header.replace('V', '')
772772
out.write(header)
773773
del header

0 commit comments

Comments
 (0)