Skip to content

Commit

Permalink
update version number and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sreekanthkura7 committed Jan 14, 2025
1 parent e870eac commit db7cdf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snirf2bids/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# __version__.py
__VERSION__ = (0, 8, 4)
__VERSION__ = (0, 8, 5)
__version__ = '.'.join(map(str, __VERSION__))
7 changes: 6 additions & 1 deletion snirf2bids/snirf2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,10 @@ def snirf2bids(path_to_snirf: str, outputpath: str = None, list_files=[], retain
Args:
path_to_snirf (str): The file path to the reference SNIRF file
outputpath (str): (Optional) The file path/directory for the created BIDS metadata files
list_files (list): (Optional) A list of BIDS files to overwrite. If empty, all files are overwritten; otherwise, only the specified files are overwritten
list_files (list): (Optional) A list of BIDS files to overwrite.
If empty, all files are overwritten; otherwise, only the specified files are overwritten
retain_old_info (Boolean) : (optional) with a default value of True, ensures that information in the
existing scans and participants files is retained whenever a conflict occurs.
"""
s = SnirfRun(fpath=path_to_snirf).export_to_dict()
if outputpath is None:
Expand Down Expand Up @@ -1381,6 +1384,8 @@ def snirf2bids_recurse(fpath: str, list_files=[], retain_old_info=True) -> str:
fpath (str): Path to a directory containing SNIRF files or the path to a single SNIRF file.
list_files (list, optional): A list of specific BIDS files to overwrite.
If empty, all files are overwritten. If provided, only the specified files are overwritten.
retain_old_info (Boolean) : (optional) with a default value of True, ensures that information in the
existing scans and participants files is retained whenever a conflict occurs.
"""

if os.path.isdir(fpath):
Expand Down

0 comments on commit db7cdf9

Please sign in to comment.