@@ -38,14 +38,14 @@ def test_generate_physio_bids_file():
3838 input_file = bids_dir ,
3939 mode = "bids" ,
4040 bids_parameters = bids_parameters ,
41- bids_channel = "cardiac" ,
41+ col_physio_type = "cardiac" ,
4242 )
4343
4444 assert task .inputs .input_file == bids_dir
4545 assert task .inputs .mode == "bids"
4646 assert task .inputs .fs is None
4747 assert task .inputs .bids_parameters == bids_parameters
48- assert task .inputs .bids_channel == "cardiac"
48+ assert task .inputs .col_physio_type == "cardiac"
4949
5050 task ()
5151
@@ -67,14 +67,14 @@ def test_generate_physio_auto():
6767 input_file = bids_dir ,
6868 mode = "auto" ,
6969 bids_parameters = bids_parameters ,
70- bids_channel = "cardiac" ,
70+ col_physio_type = "cardiac" ,
7171 )
7272
7373 assert task .inputs .input_file == bids_dir
7474 assert task .inputs .mode == "auto"
7575 assert task .inputs .fs is None
7676 assert task .inputs .bids_parameters == bids_parameters
77- assert task .inputs .bids_channel == "cardiac"
77+ assert task .inputs .col_physio_type == "cardiac"
7878
7979 task ()
8080
@@ -87,13 +87,13 @@ def test_generate_physio_auto_error(caplog):
8787 task = tasks .generate_physio (
8888 input_file = bids_dir ,
8989 mode = "auto" ,
90- bids_channel = "cardiac" ,
90+ col_physio_type = "cardiac" ,
9191 )
9292
9393 assert task .inputs .input_file == bids_dir
9494 assert task .inputs .mode == "auto"
9595 assert task .inputs .fs is None
96- assert task .inputs .bids_channel == "cardiac"
96+ assert task .inputs .col_physio_type == "cardiac"
9797
9898 try :
9999 task ()
0 commit comments