Skip to content

Commit a8468e4

Browse files
fix: refer to write default in docstring
Co-authored-by: Daniel Rüdt <117752024+daniel-rdt@users.noreply.github.com>
1 parent 9e80f10 commit a8468e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/cba/simplify_sb_network.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def move_bus_carrier_and_cleanup(
8686
Bus carrier to remove (e.g. "low voltage").
8787
busmap : pandas.Series, optional
8888
Mapping of `from_carrier` bus name -> target bus name onto which its
89-
components should be reassigned. Defaults to
90-
`n.buses.loc[n.buses.carrier == from_carrier, "location"]`, i.e.
91-
each bus is mapped onto the bus matching its `location` field.
89+
components should be reassigned. Defaults to `None`, in which case
90+
each bus is mapped onto the bus matching its `location` field, i.e.
91+
`n.buses.loc[n.buses.carrier == from_carrier, "location"]` is used.
9292
9393
Returns
9494
-------

0 commit comments

Comments
 (0)