Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Feb 11, 2025
1 parent feaa156 commit 7a005bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cubids/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def _get_parser():
from cubids import __version__

parser = argparse.ArgumentParser(prog="cubids", allow_abbrev=False)
parser.add_argument("-v", "--version", action="version", version=__version__)
parser.add_argument("-v", "--version", action="version", version=f"cubids v{__version__}")
subparsers = parser.add_subparsers(help="CuBIDS commands")

for command, parser_func, run_func in COMMANDS:
Expand Down
4 changes: 2 additions & 2 deletions cubids/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def validate(
# concatenate the parsed data and exit
if len(parsed) < 1:
logger.info("No issues/warnings parsed, your dataset is BIDS valid.")
sys.exit(0)
return

else:
parsed = pd.concat(parsed, axis=0, ignore_index=True)
Expand All @@ -195,7 +195,7 @@ def validate(
json.dump(val_dict, outfile, indent=4)

logger.info("Writing issues out to file %s", val_tsv)
sys.exit(0)
return
else:
# user may be in python session, return dataframe
return parsed
Expand Down

0 comments on commit 7a005bf

Please sign in to comment.