-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scottx611x/fix derived node attribute inheritance (#2174)
* Code tidying * Add `is_orphan()` to Node model * Clearer parameter naming * Remove unused code * Fix attach_outputs_dataset to allow for derived data nodes to be properly connected to their parents * Create AnalysisNodeConnection outputs for all Galaxy History datasets, only create WorkflowFilesDL for asterisked Workflow outputs * Update existing tests and mock data * Add test for `is_orphan` * Refactor `_get_analysis_group_number`, `_get_creating_job_output_name`, and `_get_workflow_step` * Fix typo * Update Galaxy Mock data * Revert "Refactor `_get_analysis_group_number`, `_get_creating_job_output_name`, and `_get_workflow_step`" This reverts commit 61cd954. * Update mock data * Update tests (test_attach_outputs_dataset_makes_proper_node_inheritance_chain still needs stronger assertions) * Use `CREATING_JOB` constant * Use factories that already exist * Fix comment * Add stronger assertions to `test_attach_outputs_dataset_makes_proper_node_inheritance_chain` * Add methods to AnalysisNodeConnection to build these identifiers w/ tests * `output_connection.step` was more clear as to what we were dealing with * Did not need the sorting here * analysis_group is a number already no need to be redundant * Fix docstring * Clearer naming inside `_get_galaxy_history_dataset_list` * Clean up `_get_exposed_workflow_outputs` * better naming in `_get_exposed_workflow_outputs` * Add comment, remove unneccessary assertion * Refactor `_get_workflow_step` to be more concise * Remove loggers from debugging * Update test now that I removed the `sorted()` from `_get_output_connection_to_analysis_result_mapping`
- Loading branch information
1 parent
ebe3ee9
commit 6003a4a
Showing
9 changed files
with
538 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.