Skip to content

Commit 673589a

Browse files
committed
Removed return None
1 parent 0173b9d commit 673589a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

gnss_lib_py/utils/coordinates.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -489,12 +489,12 @@ def add_el_az(navdata, receiver_state, inplace=False):
489489
490490
Returns
491491
-------
492-
data_el_az : None or gnss_lib_py.parsers.navdata.NavData
492+
data_el_az : gnss_lib_py.parsers.navdata.NavData
493493
If inplace is True, adds ``el_sv_deg`` and ``az_sv_deg`` to
494-
the input navdata. If inplace is False, returns ``el_sv_deg``
495-
and ``az_sv_deg`` in a new NavData instance along with
496-
``gps_millis`` and the corresponding satellite and receiver
497-
rows.
494+
the input navdata and returns the same object.
495+
If inplace is False, returns ``el_sv_deg`` and ``az_sv_deg``
496+
in a new NavData instance along with ``gps_millis`` and the
497+
corresponding satellite and receiver rows.
498498
499499
"""
500500

@@ -530,7 +530,7 @@ def add_el_az(navdata, receiver_state, inplace=False):
530530
if inplace:
531531
navdata["el_sv_deg"] = sv_el_az[0,:]
532532
navdata["az_sv_deg"] = sv_el_az[1,:]
533-
return None
533+
return navdata
534534

535535
data_el_az = NavData()
536536
data_el_az["gps_millis"] = navdata["gps_millis"]

0 commit comments

Comments
 (0)