-
-
Notifications
You must be signed in to change notification settings - Fork 41
♻️ Split ResourcePool into three classes
#2131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shnizzedy
wants to merge
77
commits into
develop
Choose a base branch
from
engine/(th)re(e)sources
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
Member
Author
|
Noting out-of-scope things I'm coming across in this refactor that I'd like to fix:
|
70c6d8a to
3334a2a
Compare
84b7b64 to
f5dd824
Compare
41f15ce to
efc0518
Compare
efc0518 to
61eeef4
Compare
ede1f85 to
8d80941
Compare
5 tasks
shnizzedy
added a commit
that referenced
this pull request
Aug 6, 2024
shnizzedy
added a commit
that referenced
this pull request
Aug 6, 2024
Squashed commit of the following: commit 0a53108 Author: Jon Clucas <[email protected]> Date: Fri Jul 19 01:16:36 2024 -0400 :goal_net: Catch and release no-regressors commit 836d100 Author: Jon Clucas <[email protected]> Date: Fri Jul 19 00:50:16 2024 -0400 :art: Remove duplicate imports commit 8d80941 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 21:01:35 2024 -0400 :art: Qualify refs to documented functions. commit 2402a2c Author: Jon Clucas <[email protected]> Date: Thu Jul 18 20:22:13 2024 -0400 :pencil2: A little more docstring cleanup commit 61eeef4 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 20:08:08 2024 -0400 :bug: Fix memoization commit 763af4e Author: Jon Clucas <[email protected]> Date: Thu Jul 18 14:30:35 2024 -0400 :art: More docstring updates for ResourcePool refactor commit 6c96667 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 12:59:32 2024 -0400 :bug: Fix conflicting class name commit f5dd824 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 12:41:45 2024 -0400 :art: Standardize docstring format across changes. commit 75e38e0 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 10:57:21 2024 -0400 :memo: Update CHANGELOG re: #2131 commit 3b00764 Merge: 7b04cc8 a40c449 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 09:47:22 2024 -0400 :twisted_rightwards_arrows: Merge 'origin/develop' into 'engine/(th)re(e)sources' commit 7b04cc8 Author: Jon Clucas <[email protected]> Date: Thu Jul 18 09:42:39 2024 -0400 :white_check_mark: Unlink symlink instead of rmtree commit dd0985f Author: Jon Clucas <[email protected]> Date: Thu Jul 18 09:24:29 2024 -0400 :pencil2: Fix typo (~~"tpyes"~~ → "types") commit 4a05442 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 17:04:43 2024 -0400 :construction_worker: Pre-clone `bids-examples` commit 7571455 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:54:50 2024 -0400 :recycle: Move `_check_null` from method to private function commit 0d848b9 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:44:34 2024 -0400 :recycle: Replace calls to `grab_tiered_dct` with direct config lookup commit a855222 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:24:39 2024 -0400 :coffin: Remove unused function `run_node_blocks` commit 2e97e51 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:23:21 2024 -0400 :recycle: Move `initialize_nipype_wf` method into `ResourcePool` commit 8389d5b Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:21:51 2024 -0400 :recycle: Move `json_outdir_ingress` method into `ResourcePool` commit 84274b9 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:20:19 2024 -0400 :recycle: Move `_config_lookup` method into `ResourcePool` commit cf85273 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:16:48 2024 -0400 :coffin: Remove unused `get_name` method commit c944940 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:13:05 2024 -0400 :recycle: Move `create_func_datasource` method into `ResourcePool` commit ef402e5 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:11:07 2024 -0400 :recycle: Move `_get_pipe_number` back into `ResourcePool` commit 77ffc16 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 16:05:08 2024 -0400 :coffin: Remove unused `wrap_block` function commit 14c3e32 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:44:44 2024 -0400 :coffin: Remove unused `get_entire_rpool` method commit 2fc7244 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:39:26 2024 -0400 :recycle: Move `get_raw_label` back into `ResourcePool` commit b8ca36c Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:38:49 2024 -0400 :coffin: Remove unused `get_strat_info` method commit 839c7cd Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:38:26 2024 -0400 :coffin: Remove unused `set_json_info` method commit 0a0b5a0 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:37:39 2024 -0400 :recycle: Move `get_json_info` back into `ResourcePool` commit 69cb603 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:28:21 2024 -0400 :recycle: Move `copy_resource` method into `StratPool` commit a004ab6 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:25:59 2024 -0400 :coffin: Remove unused `update_resource` method commit 6fb1dc1 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:25:33 2024 -0400 :coffin: Remove unused `get_pipe_idxs` method commit 0f9099c Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:25:03 2024 -0400 :recycle: Split `get_json` across `ResourcePool` and `StratPool` commit f2423a2 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 15:15:37 2024 -0400 :recycle: Move `get_cpac_provenance` and `regressor_dct` into `StratPool` commit 52c38bf Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:49:30 2024 -0400 :coffin: Remove unused `generate_prov_list` method commit 748b98e Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:48:56 2024 -0400 :recycle: Move `get_resource_strats_from_prov` back into `ResourcePool` commit 74629ac Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:44:18 2024 -0400 :coffin: Remove unused `flatten_prov` method commit 48e8b90 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:43:34 2024 -0400 :recycle: Move `derivative_xfm` back into `ResourcePool` commit 29b481d Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:25:12 2024 -0400 :recycle: Move `filtered_movement` property into `StratPool` commit b0b94c9 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:23:36 2024 -0400 :recycle: Move `filter_name` method into `StratPool` commit 4bf5f00 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:20:36 2024 -0400 :recycle: Move `post_process` method back into `ResourcePool` commit 3613f8c Author: Jon Clucas <[email protected]> Date: Wed Jul 17 14:16:16 2024 -0400 :construction_worker: Livelog pytest commit a9a3c48 Author: Jon Clucas <[email protected]> Date: Wed Jul 17 13:41:27 2024 -0400 :coffin: Remove `_Pool.node_data` method commit d30496c Author: Jon Clucas <[email protected]> Date: Wed Jul 17 13:28:36 2024 -0400 :recycle: Move `connect_pipeline` from standalone function to `ResourcePool` method commit fc2714a Author: Jon Clucas <[email protected]> Date: Tue Jul 16 16:16:58 2024 -0400 :recycle: Clarify `ResourcePool.gather_pipes` commit 588df00 Author: Jon Clucas <[email protected]> Date: Tue Jul 16 15:36:24 2024 -0400 :recycle: Typehint `StratPool.append_name` commit 6207348 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 17:41:51 2024 -0400 :zap: Replace some `deepcopy` calls commit abb4809 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 16:13:39 2024 -0400 :art: Type `connect_pipeline` commit 5ea19ef Author: Jon Clucas <[email protected]> Date: Mon Jul 15 15:33:11 2024 -0400 :twisted_rightwards_arrow: Merge `develop` into `engine/(th)r(e)esources` Squashed commit of the following: commit a40c449 Merge: 6b6f7f4 9ba084e Author: Jon Clucas <[email protected]> Date: Mon Jul 15 13:16:14 2024 -0400 ⬆️ Bump zipp from 3.16.0 to 3.19.1 (#2132) commit 9ba084e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Jul 9 18:35:58 2024 +0000 :arrow_up: Bump zipp from 3.16.0 to 3.19.1 Bumps [zipp](https://github.com/jaraco/zipp) from 3.16.0 to 3.19.1. - [Release notes](https://github.com/jaraco/zipp/releases) - [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst) - [Commits](jaraco/zipp@v3.16.0...v3.19.1) --- updated-dependencies: - dependency-name: zipp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> commit 6b6f7f4 Merge: 5ce5d37 979b0a9 Author: Jon Clucas <[email protected]> Date: Fri Jul 12 13:27:18 2024 -0400 🐛 Fix `get_scan_params` (#2129) commit 979b0a9 Author: Jon Clucas <[email protected]> Date: Tue Jul 9 09:39:03 2024 -0400 :pencil2: Fix f-string missing `f` commit af65a2e Author: Jon Clucas <[email protected]> Date: Mon Jul 8 17:01:06 2024 -0400 :bug: Fix circular import commit f194377 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 16:07:15 2024 -0400 :recycle: Exclusively use custom `Function` Nodes + :rotating_light: Lint commit c7819d1 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 14:16:53 2024 -0400 :art: Remove unnecessary initializations commit b013ccc Author: Jon Clucas <[email protected]> Date: Mon Jul 8 13:54:48 2024 -0400 :package: Init `Function` commit b19907a Author: Jon Clucas <[email protected]> Date: Mon Jul 8 13:40:19 2024 -0400 :bug: Use C-PAC Function node commit 7d6f0ee Author: Jon Clucas <[email protected]> Date: Mon Jul 8 12:59:12 2024 -0400 :pencil2: Fix TR capitalization commit 3ebb9f4 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 12:54:48 2024 -0400 :white_check_mark: Add tests for `fetch` refactor [rebuild base-lite] [rebuild base-standard] [run reg-suite] commit 6a5b723 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 12:01:02 2024 -0400 :recycle: DRY params, sub, scan commit c5c39b0 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 10:49:11 2024 -0400 :bug: Tell Nipype to import typehint type [run reg-suite] commit 52aa366 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 10:05:09 2024 -0400 :recycle: DRY `fetch_and_convert`|`fetch`|`check`|`check2` [run reg-suite] commit ddf2103 Author: Jon Clucas <[email protected]> Date: Sat Jul 6 00:27:06 2024 -0400 :construction: WIP :bug: Fix `get_scan_params` [run reg-suite] commit 17257e3 Author: Jon Clucas <[email protected]> Date: Fri Jul 5 14:26:27 2024 -0400 :recycle: Dedupe function node imports commit 74c0950 Author: Jon Clucas <[email protected]> Date: Fri Jul 5 09:56:33 2024 -0400 :bug: Import local variables in `get_scan_params` [run reg-suite] commit e64309c Author: Jon Clucas <[email protected]> Date: Wed Jul 3 18:15:43 2024 -0400 :bug: Fix import (probably merge error) [run reg-suite] commit faf8ab9 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 14:44:58 2024 -0400 :white_check_mark: Check if `bids-examples` is empty before moving on commit e25479f Author: Jon Clucas <[email protected]> Date: Mon Jul 15 14:19:59 2024 -0400 :bug: Fix auto-`quick_single` commit 90d96b1 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 14:10:55 2024 -0400 :white_check_mark: Update test for new `Resource` class commit c22db11 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 14:02:58 2024 -0400 :bug: Remove extra curly braces commit 4280fc6 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 13:47:15 2024 -0400 :recycle: Dedupe loop through `self.node_blocks.items()` commit aaa37a9 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 13:14:09 2024 -0400 :recycle: Move `StratDict().rpool[json]` to `StratDict().json` commit 1058c94 Author: Jon Clucas <[email protected]> Date: Mon Jul 15 11:55:46 2024 -0400 :art: Define `_Pool.__contains__` and `Resource.__contains__` commit bb6cbae Author: Jon Clucas <[email protected]> Date: Mon Jul 15 10:01:42 2024 -0400 :bug: Fix circular import commit 1b11462 Author: Jon Clucas <[email protected]> Date: Fri Jul 12 22:14:15 2024 -0400 :technologist: Add `__repr__` method to `Resource` commit 02d1a14 Author: Jon Clucas <[email protected]> Date: Fri Jul 12 22:06:37 2024 -0400 :white_check_mark: Remove dir instead of file commit b1f16ed Author: Jon Clucas <[email protected]> Date: Fri Jul 12 22:02:47 2024 -0400 :art: Type `ResourcePool.get_strats` commit ec32f34 Author: Jon Clucas <[email protected]> Date: Fri Jul 12 20:52:33 2024 -0400 :pencil2: Pipe inside quotation marks commit 199bd60 Author: Jon Clucas <[email protected]> Date: Fri Jul 12 16:06:49 2024 -0400 :white_check_mark: `pytest.Cache.makedir` → `pytest.Cache.mkdir` commit 1cc3914 Author: Jon Clucas <[email protected]> Date: Fri Jul 12 15:37:58 2024 -0400 :art: :technologist: Clarify typing commit 4d9934d Author: Jon Clucas <[email protected]> Date: Thu Jul 11 17:37:13 2024 -0400 :construction: WIP :recycle: Fix `StratPool.__init__` commit 98c8bb8 Author: Jon Clucas <[email protected]> Date: Thu Jul 11 14:13:24 2024 -0400 :construction: :recycle: Continue updating calls to `ResourcePool` methods commit 3af1407 Author: Jon Clucas <[email protected]> Date: Thu Jul 11 10:48:11 2024 -0400 :white_check_mark: Use abspath for BIDS-examples commit 87fb1c0 Author: Jon Clucas <[email protected]> Date: Thu Jul 11 10:37:20 2024 -0400 :white_check_mark: Skip NHP configs if no torch installed commit 8a24441 Author: Jon Clucas <[email protected]> Date: Thu Jul 11 10:28:45 2024 -0400 :recycle: Pass `part_id` through to `DataPaths` commit 3c2220d Author: Jon Clucas <[email protected]> Date: Thu Jul 11 10:23:18 2024 -0400 :pencil2: Import Path for signature commit 515b791 Author: Jon Clucas <[email protected]> Date: Thu Jul 11 10:20:55 2024 -0400 :recycle: EmptyConfiguration → Preconfiguration('blank') commit f1f7705 Author: Jon Clucas <[email protected]> Date: Wed Jul 10 17:06:06 2024 -0400 :recycle: Finish moving `create_func_datasource` from func to method commit bbf3e97 Author: Jon Clucas <[email protected]> Date: Wed Jul 10 17:01:03 2024 -0400 :recycle: Fold `initiate_rpool` into `ResourcePool.__init__` commit 3334a2a Author: Jon Clucas <[email protected]> Date: Wed Jul 10 13:00:10 2024 -0400 :construction_worker: Replace non-`\w`-non-dot characters with hyphens commit 646f49d Author: Jon Clucas <[email protected]> Date: Wed Jul 10 12:52:05 2024 -0400 :white_check_mark: Restore engine unit tests commit 7a76603 Author: Jon Clucas <[email protected]> Date: Wed Jul 10 12:51:42 2024 -0400 :construction: WIP :recycle: Move `ResourcePool` init from functions to methods commit 06612ff Author: Jon Clucas <[email protected]> Date: Tue Jul 9 16:38:34 2024 -0400 :white_check_mark: Move BIDS examples to a fixture commit 821bcaa Author: Jon Clucas <[email protected]> Date: Mon Jul 8 17:20:09 2024 -0400 :construction: Split ResourcePool into three classes with docstrings commit b414d17 Author: Jon Clucas <[email protected]> Date: Mon Jul 8 17:15:27 2024 -0400 :truck: Move engine resources to own submodule
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Separates
C-PAC/CPAC/pipeline/engine.py
Lines 69 to 1413 in 5ce5d37
Resource,ResourcePool, andStratPool.Technical details
ResourcePools have configs and workflowsC-PAC/CPAC/pipeline/engine/resource.py
Lines 486 to 500 in 836d100
C-PAC/CPAC/pipeline/engine/resource.py
Lines 525 to 528 in 8d80941
C-PAC/CPAC/pipeline/engine/resource.py
Lines 584 to 587 in 8d80941
StratPools have configs as attributesC-PAC/CPAC/pipeline/engine/resource.py
Lines 3024 to 3034 in 8d80941
C-PAC/CPAC/pipeline/engine/resource.py
Line 3041 in 8d80941
flowchart LR subgraph "(before)" subgraph "cpac.pipeline (before)" subgraph "cpac_pipeline" list_blocks.before(list_blocks) end subgraph "engine (before)" initiate_rpool NodeData run_node_blocks set_iterables strip_template subgraph "NodeBlock (before)" NodeBlockFunction.before(NodeBlockFunction) nodeblock.before(nodeblock) NodeBlock.__init__.before(__init__) NodeBlock.get_name(get_name) check_output.before(check_output) check_null NodeBlock.connect_block(connect_block) grab_tiered_dct end subgraph "ResourcePool (before)" ResourcePool.__init__.before(__init__) ResourcePool.append_name(append_name) back_propogate_template_name.before(back_propogate_template_name) check_rpool.before(check_rpool) copy_resource copy_rpool derivative_xfm filter_name filtered_movement flatten_prov gather_pipes generate_prov_list get.before(get) get_cpac_provenance get_data.before(get_data) get_entire_rpool get_json get_json_info.before(get_json_info) get_name get_pipe_idxs get_pipe_number get_pool_info set_pool_info get_raw_label.before(get_raw_label) get_resource_from_prov get_resource_strats_from_prov get_resources get_strat_info get_strats node_data post_process regressor_dct.before(regressor_dct) set_data.before(set_data) update_resource end wrap_block ingress_raw_anat_data ingress_freesurfer ingress_raw_func_data ingress_output_dir json_outdir_ingress func_outdir_ingress ingress_pipeconfig_paths end end end subgraph "(after)" subgraph cpac.pipeline.engine subgraph nodeblock nodeblock.after(nodeblock) NodeBlockFunction subgraph NodeBlock NodeBlock.__init__(__init__) check_output list_blocks end end subgraph resource ResourceData _check_null resource.set_iterables(set_iterables) resource.strip_template(strip_template) subgraph Resource Resource.get_json(get_json) data json keys cpac_provenance end subgraph _Pool _Pool.__init__(__init__) _Pool.check_rpool(check_rpool) _Pool.get(get) _Pool.get_resource_from_prov(get_resource_from_prov) _Pool.keys(keys) set_data subgraph ResourcePool ResourcePool.__init__.after(__init__) back_propogate_template_name.after(back_propogate_template_name) ResourcePool.connect_block(connect_block) ResourcePool.derivative_xfm(derivative_xfm) ResourcePool.gather_pipes(gather_pipes) ResourcePool.get(get) ResourcePool.get_data(get_data) ResourcePool.get_json(get_json) get_json_info.after(get_json_info) _get_pipe_number get_raw_label.after(get_raw_label) ResourcePool.get_resource_strats_from_prov(get_resource_strats_from_prov) ResourcePool.get_strats(get_strats) ResourcePool.ingress_raw_anat_data(ingress_raw_anat_data) ResourcePool.ingress_freesurfer(ingress_freesurfer) ResourcePool.ingress_raw_func_data(ingress_raw_func_data) ResourcePool.ingress_output_dir(ingress_output_dir) ResourcePool.json_outdir_ingress(json_outdir_ingress) ResourcePool.func_outdir_ingress(func_outdir_ingress) ResourcePool.post_process(post_process) ResourcePool.ingress_pipeconfig_paths(ingress_pipeconfig_paths) end subgraph StratPool StratPool.__init__(__init__) StratPool.append_name(append_name) StratPool.copy_resource(copy_resource) StratPool.filter_name(filter_name) StratPool.filtered_movement(filtered_movement) StratPool.get(get) StratPool.get_cpac_provenance(get_cpac_provenance) StratPool.get_data(get_data) StratPool.get_json(get_json) regressor_dct end end end end end ResourcePool.__init__.before --> _Pool.__init__ _Pool.__init__ -.-> ResourcePool.__init__.after _Pool.__init__ -.-> StratPool.__init__ back_propogate_template_name.before --> back_propogate_template_name.after ResourcePool.append_name --> StratPool.append_name check_rpool.before --> _Pool.check_rpool copy_resource --> StratPool.copy_resource derivative_xfm --> ResourcePool.derivative_xfm filter_name --> StratPool.filter_name filtered_movement --> StratPool.filtered_movement gather_pipes --> ResourcePool.gather_pipes(gather_pipes) get_cpac_provenance --> StratPool.get_cpac_provenance get_data.before --> ResourcePool.get_data get_data.before --> StratPool.get_data get_json --> Resource.get_json get_json --> ResourcePool.get_json get_json --> StratPool.get_json get_json_info.before --> get_json_info.after get_pipe_number --> _get_pipe_number get_resources --> _Pool.keys get_raw_label.before --> get_raw_label.after get_resource_strats_from_prov --> ResourcePool.get_resource_strats_from_prov get_resource_from_prov --> _Pool.get_resource_from_prov get_strats --> ResourcePool.get_strats node_data --> DELETED post_process --> ResourcePool.post_process regressor_dct.before --> regressor_dct set_data.before --> set_data copy_rpool --> DELETED get.before --> _Pool.get _Pool.get -.-> ResourcePool.get _Pool.get -.-> StratPool.get get_name --> DELETED("🗑️") flatten_prov --> DELETED generate_prov_list --> DELETED get_pipe_idxs --> DELETED get_pool_info --> DELETED set_pool_info --> DELETED get_entire_rpool --> DELETED get_strat_info --> DELETED update_resource --> DELETED NodeBlock.__init__.before --> NodeBlock.__init__ NodeBlock.get_name --> DELETED check_null --> _check_null grab_tiered_dct --> DELETED NodeBlock.connect_block --> ResourcePool.connect_block wrap_block --> DELETED ingress_raw_anat_data --> ResourcePool.ingress_raw_anat_data ingress_freesurfer --> ResourcePool.ingress_freesurfer(ingress_freesurfer) ingress_raw_func_data --> ResourcePool.ingress_raw_func_data(ingress_raw_func_data) ingress_output_dir --> ResourcePool.ingress_output_dir(ingress_output_dir) json_outdir_ingress --> ResourcePool.json_outdir_ingress(json_outdir_ingress) func_outdir_ingress --> ResourcePool.func_outdir_ingress(func_outdir_ingress) set_iterables --> resource.set_iterables strip_template --> resource.strip_template initiate_rpool --> ResourcePool.__init__.after run_node_blocks --> DELETED NodeData --> ResourceData NodeBlockFunction.before --> NodeBlockFunction nodeblock.before --> nodeblock.after check_output.before --> check_output list_blocks.before --> list_blocksTests
I converted these tests to pytest tests and turned them back on:
C-PAC/CPAC/pipeline/test/test_engine.py
Lines 45 to 101 in 41f15ce
Screenshots
Checklist
Update index.md).developbranch of the repository.ResourcePoolinto three classes" fcp-indi.github.io#325).Developer Certificate of Origin
Developer Certificate of Origin