Skip to content

Commit 02b83cb

Browse files
committed
Minor modifications in warning text formatting
1 parent cbe91cd commit 02b83cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyvolcans/pyvolcans_func.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _format_pyvolcans_warning(message, *args, **kwargs):
3030
Format warnings into PyVOLCANS style, discarding all but the
3131
message.
3232
"""
33-
return f"UserWarning (PyVOLCANS): {message}\n"
33+
return f"\nUserWarning (PyVOLCANS): {message}\n"
3434

3535

3636
# Replace built-in warning format function
@@ -513,7 +513,7 @@ def warn_on_perfect_analogues(result):
513513
"of total analogy. Please be aware of possible "
514514
"data deficiencies and/or the use of a simplified "
515515
"weighting scheme (see Tierz et al., 2019, for more "
516-
"details).\n")
516+
"details).")
517517
warnings.warn(msg)
518518

519519

0 commit comments

Comments
 (0)