Commit 253c381
Reduce cyclomatic complexity of try_merge_additional_files() (#292)
* Reduce cyclomatic complexity of try_merge_additional_files()
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
* Add NEWS entry for extracted helpers
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
* Fix formatting and unmatched-merge count in try_merge_one_file
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
* Simplify helpers and reduce try_merge_additional_files to complexity 12
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
* Address review: fix formatting, warn on ignored participant_key
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
* Distinguish warning messages for invalid participant_key, consistent := style
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
* Thread call param through resolve_longitudinal_key, use basename consistently
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
---------
Co-authored-by: sbfnk-bot <242615673+sbfnk-bot@users.noreply.github.com>1 parent 112c3e7 commit 253c381
3 files changed
+262
-160
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments