Skip to content

Commit df47a68

Browse files
committed
Fix dev version to comply to PEP 440
1 parent 1540325 commit df47a68

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

bidscoin/heuristics/bidsmap_bids2bids.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Options:
2020
# General BIDScoin and plugin options
2121
# --------------------------------------------------------------------------------
2222
bidscoin:
23-
version: 4.5.1-dev # BIDScoin version (should correspond with the version in pyproject.toml)
23+
version: 4.5.1.dev # BIDScoin version (should correspond with the version in pyproject.toml)
2424
subprefix: sub- # The subject prefix of the source data
2525
sesprefix: ses- # The session prefix of the source data
2626
bidsignore: [extra_data/, sub-*_ct.*] # List of entries that are added to the .bidsignore file (for more info, see BIDS specifications), e.g. [extra_data/, pet/, myfile.txt, yourfile.csv]

bidscoin/heuristics/bidsmap_dccn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Options:
2121
# General BIDScoin and plugin options
2222
# -----------------------------------
2323
bidscoin:
24-
version: 4.5.1-dev # BIDScoin version (should correspond with the version in pyproject.toml)
24+
version: 4.5.1.dev # BIDScoin version (should correspond with the version in pyproject.toml)
2525
subprefix: sub- # The subject prefix of the source data
2626
sesprefix: ses- # The session prefix of the source data
2727
bidsignore: [extra_data/, sub-*_ct.*] # List of entries that are added to the .bidsignore file (for more info, see BIDS specifications), e.g. [extra_data/, pet/, myfile.txt, yourfile.csv]

bidscoin/heuristics/bidsmap_sst.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Options:
2020
# General BIDScoin and plugin options
2121
# -----------------------------------
2222
bidscoin:
23-
version: 4.5.1-dev # BIDScoin version (should correspond with the version in pyproject.toml)
23+
version: 4.5.1.dev # BIDScoin version (should correspond with the version in pyproject.toml)
2424
subprefix: sub- # The subject prefix of the source data
2525
sesprefix: ses- # The session prefix of the source data
2626
bidsignore: [extra_data/, sub-*_ct.*] # List of entries that are added to the .bidsignore file (for more info, see BIDS specifications), e.g. [extra_data/, pet/, myfile.txt, yourfile.csv]

bidscoin/plugins/events2bids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def bidscoiner(self, session: Path, bidsmap: BidsMap, bidsses: Path) -> None:
184184
acq_time = acq_time.isoformat()
185185
except Exception as date_error:
186186
LOGGER.warning(f"Could not parse the acquisition time from: {sourcefile}\n{date_error}")
187-
acq_time = 'n/a'
187+
acq_time = pd.NA
188188
scans_table.loc[target.relative_to(bidsses).as_posix(), 'acq_time'] = acq_time
189189

190190
if not runid:

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
*All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)*
44

5-
## [4.5.1-dev]
5+
## [4.5.1.dev]
66

77
## [4.5.0] - 2025-02-05
88

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
77
[project]
88
name = 'bidscoin'
99
description = 'Converts and organises raw MRI data-sets according to the Brain Imaging Data Structure (BIDS)'
10-
version = '4.5.1-dev'
10+
version = '4.5.1.dev'
1111
readme = 'README.rst'
1212
requires-python = '>= 3.9'
1313
license = {file = 'LICENSE.txt'}

tests/test_data/bidsmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $schema: schema.json
1919

2020
Options: # =============================== General options and plugins =====================================
2121
bidscoin:
22-
version: 4.5.1-dev # BIDScoin version (should correspond with the version in pyproject.toml)
22+
version: 4.5.1.dev # BIDScoin version (should correspond with the version in pyproject.toml)
2323
bidsignore: extra_data/ # Semicolon-separated list of entries that are added to the .bidsignore file (for more info, see BIDS specifications), e.g. extra_data/;pet/;myfile.txt;yourfile.csv
2424
subprefix: sub- # The subject prefix of the source data
2525
sesprefix: ses- # The session prefix of the source data

0 commit comments

Comments
 (0)