Skip to content

Commit

Permalink
Merge pull request #333 from PennLINC/fix/print_metadata
Browse files Browse the repository at this point in the history
logger not printing metadata so use print instead
  • Loading branch information
tientong98 authored Oct 31, 2024
2 parents 065444d + b322dd0 commit c16650b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cubids/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,8 @@ def print_metadata_fields(bids_dir, container):
if container is None:
bod = CuBIDS(data_root=str(bids_dir), use_datalad=False)
fields = bod.get_all_metadata_fields()
logger.info("\n".join(fields))
print("\n".join(fields)) # logger not printing
# logger.info("\n".join(fields))
sys.exit(0)

# Run it through a container
Expand Down

0 comments on commit c16650b

Please sign in to comment.