Skip to content

Commit

Permalink
FIX: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 26, 2024
1 parent e4b296f commit 008e75d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions mne_bids_pipeline/steps/preprocessing/_04_frequency_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ def filter_data(
# For example, might need to create
# derivatives/mne-bids-pipeline/sub-emptyroom/ses-20230412/meg
out_files[in_key].fpath.parent.mkdir(exist_ok=True, parents=True)
logger.info(
**gen_log_kwargs(
message=f"Writing filtered data to: {out_files[in_key].basename}"
)
)
raw.save(
out_files[in_key],
overwrite=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def run_regress_artifact(
task: Optional[str],
in_files: dict,
) -> dict:
# Eventually we could do something with all the EOGRegression instances
model = EOGRegression(proj=False, **cfg.regress_artifact)
out_files = dict()
in_key = f"raw_task-{task}_run-{run}"
Expand Down
2 changes: 1 addition & 1 deletion mne_bids_pipeline/tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def dataset_test(request):
def test_run(dataset, monkeypatch, dataset_test, capsys, tmp_path):
"""Test running a dataset."""
test_options = TEST_SUITE[dataset]
config = test_options.get("config", f"config_{dataset}.py").replace("-", "_")
config = test_options.get("config", f"config_{dataset.replace('-', '_')}.py")
config_path = BIDS_PIPELINE_DIR / "tests" / "configs" / config
extra_config = TEST_SUITE[dataset].get("extra_config", "")
if extra_config:
Expand Down

0 comments on commit 008e75d

Please sign in to comment.