Skip to content

Space-separate workflow descriptions in visit_desc - #1059

Merged
mgxd merged 4 commits into
nipreps:masterfrom
asaraog:fix/space-separate-boilerplate
Oct 1, 2026
Merged

mgxd merged 4 commits into
nipreps:masterfrom
asaraog:fix/space-separate-boilerplate

Conversation

@asaraog

@asaraog asaraog commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Closes #999. visit_desc joins descriptions with a space and strips them, so a description no longer needs a trailing space to stay separated.

Asaraog and others added 3 commits September 7, 2026 19:44
collect_data merged every filter with queries[acq].update(entities), so a
filter naming a suffix absent from a caller-supplied queries dict raised
KeyError instead of being ignored.

Closes nipreps#862
@codecov

codecov Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.18%. Comparing base (bde002c) to head (b0a8828).
⚠️ Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1059      +/-   ##
==========================================
+ Coverage   67.12%   67.18%   +0.06%     
==========================================
  Files          54       54              
  Lines        6853     6848       -5     
  Branches      852      849       -3     
==========================================
+ Hits         4600     4601       +1     
+ Misses       2038     2034       -4     
+ Partials      215      213       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mgxd mgxd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A few initial thoughts:

  • strip() feels too aggressive, as devs may want to separate workflow descriptions by multiple lines, i.e. (functional processing ... \n\n)
  • The collect data changes shouldn't be in this PR - please remove them

@asaraog

asaraog commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @mgxd! Both addressed: descriptions are no longer stripped (a space is added only where neither side has whitespace, so "\n\n" separators survive, with a test), and the collect_data changes are removed.

@mgxd
mgxd merged commit 359a85e into nipreps:master Oct 1, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Space-separate descriptions from LiterateWorkflow.visit_desc()

2 participants