Skip to content

Commit 54d4366

Browse files
committed
fix: remove deprecated packagename argument of generate_reports
1 parent a690eba commit 54d4366

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

fmriprep/cli/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ def main():
218218
config.execution.participant_label,
219219
config.execution.fmriprep_dir,
220220
config.execution.run_uuid,
221-
config=data.load("reports-spec.yml"),
222-
packagename="fmriprep",
221+
config=data.load("reports-spec.yml")
223222
)
224223
write_derivative_description(config.execution.bids_dir, config.execution.fmriprep_dir)
225224
write_bidsignore(config.execution.fmriprep_dir)

fmriprep/reports/core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def _load_config(self, config):
3434
from yaml import safe_load as load
3535

3636
settings = load(config.read_text())
37-
self.packagename = self.packagename or settings.get("package", None)
3837

3938
# Removed from here: Appending self.packagename to self.root and self.out_dir
4039
# In this version, pass reportlets_dir and out_dir with fmriprep in the path.

0 commit comments

Comments
 (0)