Skip to content

Commit

Permalink
FIX docs with more details
Browse files Browse the repository at this point in the history
  • Loading branch information
jalew188 committed Jun 18, 2024
1 parent dd104d0 commit dd785ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion alpharaw/utils/ms_path_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,18 @@ def get_raw_name(ms_file: str) -> str:
Parameters
----------
ms_file : str
The file path of the RAW data.
The absolute or relative path of the RAW file.
Returns
-------
str
The `raw_name` without extension.
Examples
--------
>>> get_raw_name("/MS/files/your_raw_name.raw")
'your_raw_name'
"""
raw_name = os.path.basename(ms_file)
lower_name = raw_name.lower()
Expand Down

0 comments on commit dd785ae

Please sign in to comment.