Adjust merge to exclude duplicate components
This MR adjusts the merging of sky models to exclude duplicate components (e.g., when the target model contains all or part of an A-team model). The current usage of the script in LINC is to give the target model as inmodel1
and the A-team model as inmodel2
. The defaults should give the correct behavior in this case (i.e., when duplicates are found, the target ones are removed and the A-team ones kept), so the CWL files do not need to be changed. See RAP-284 for details.
Merge request reports
Activity
requested review from @alex
assigned to @rafferty
- Resolved by alex
Shouldn't we also modify
merge_skymodels.cwl
to allow altering the new input parameters? Do I understand it correctly that in the default LINC case we want to keep the A-Team model "untouched" and would only remove duplicate components from the regular target skymodel?
added 5 commits
-
97e9866c...f7271dda - 2 commits from branch
master
- e7bdf6cd - Adjust merge to exclude duplicate components
- 5714f7b9 - Restore line removed by mistake
- 3daa8080 - Add new parameters
Toggle commit list-
97e9866c...f7271dda - 2 commits from branch