Skip to content

Commit

Permalink
Merge pull request #176 from eurunuela/fix/logger
Browse files Browse the repository at this point in the history
Fix/logger
  • Loading branch information
Stefano Moia authored Mar 13, 2020
2 parents 452a5e3 + 93a4383 commit de36948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phys2bids/phys2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def phys2bids(filename, info=False, indir='.', outdir='.', heur_file=None,
# Create logfile name
basename = 'phys2bids_'
extension = 'tsv'
isotime = datetime.datetime.now().replace(microsecond=0).isoformat()
isotime = datetime.datetime.now().strftime('%Y-%m-%dT%H%M%S')
logname = os.path.join(outdir, (basename + isotime + '.' + extension))

# Set logging format
Expand Down

0 comments on commit de36948

Please sign in to comment.