Skip to content

Commit

Permalink
fix: remove deprecated packagename argument of generate_reports
Browse files Browse the repository at this point in the history
  • Loading branch information
celprov committed Dec 13, 2023
1 parent a690eba commit 54d4366
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions fmriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ def main():
config.execution.participant_label,
config.execution.fmriprep_dir,
config.execution.run_uuid,
config=data.load("reports-spec.yml"),
packagename="fmriprep",
config=data.load("reports-spec.yml")
)
write_derivative_description(config.execution.bids_dir, config.execution.fmriprep_dir)
write_bidsignore(config.execution.fmriprep_dir)
Expand Down
1 change: 0 additions & 1 deletion fmriprep/reports/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def _load_config(self, config):
from yaml import safe_load as load

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

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

0 comments on commit 54d4366

Please sign in to comment.