Closed tclose closed 1 year ago
Patch coverage: 100.00
% and project coverage change: -0.01
:warning:
Comparison is base (
426564e
) 81.77% compared to head (39b39ce
) 81.76%.:exclamation: Current head 39b39ce differs from pull request most recent head f855fa1. Consider uploading reports for the commit f855fa1 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
If you look at the codecov report, the coverage doesn't actually change, so not sure where the -5.07% drop is coming from
See discussion in https://github.com/nipype/pydra/discussions/647 for background on this PR
do I understand correctly that #655 replaces this one?
Closing until #692 is settled
Types of changes
Summary
Adds the
pydra.mark.shell_commands.cmd_arg()
andpydra.mark.shell_commands.cmd_out()
methods to streamline the definition of input/output specs for shell command task definitions. Instead of creating an attrs.field by hand and setting the metadata directly,cmd_arg
andcmd_out
do this for you.The main benefit is that
cmd_arg
andcmd_out
specify the valid metadata fields that can be added to the input and output fields, making the code more self-documenting. It also makes the task definitions slightly less verbose.Checklist