Skip to content

Commit

Permalink
Minor HPC bidscoiner.tsv merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Feb 16, 2024
1 parent 726796b commit 44b975b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bidscoin/bidscoiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def bidscoiner(rawfolder: str, bidsfolder: str, subjects: list=(), force: bool=F
logfile = bidscoinfolder/f"{logfile_tmp.name}"
if logfile_tmp.suffix == '.tsv':
provdata_tmp = pd.read_csv(logfile_tmp, sep='\t', index_col='source')
provdata.update(provdata_tmp)
provdata = pd.concat([provdata, provdata_tmp])
else:
logfile.write_text(f"{logfile.read_text()}\n{logfile_tmp.read_text()}")
if logfile_tmp.suffix == '.errors' and logfile_tmp.stat().st_size:
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## [dev]

## [4.3.0] - 2024-02-15
## [4.3.0] - 2024-02-16

### Added
- Support for BIDS 1.9.0
Expand Down

0 comments on commit 44b975b

Please sign in to comment.