https://github.com/ghisvail/pydra-templateflow
Pydra tasks for TemplateFlow
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Keywords
Repository
Pydra tasks for TemplateFlow
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
- Releases: 2
Topics
Metadata Files
README.md
pydra-templateflow
Pydra tasks for TemplateFlow.
Pydra is a dataflow engine which provides a set of lightweight abstractions for DAG construction, manipulation, and distributed execution.
TemplateFlow provides a framework for publicly hosting and distributing neuroimaging templates for human and nonhuman brains.
Table of contents
Available tasks
This package provides a get_template task, which takes a template_id argument
and a output_queries mapping from output names to their respective file queries.
The following example showcases using get_template to download the template image,
brain and head masks for the Linear ICBM Average Brain (ICBM152).
```python from pydra.tasks import templateflow
task = templateflow.gettemplate( templateid="MNI152Lin", outputqueries={ "brainmask": {"resolution": "1", "suffix": "mask", "desc": "head"}, "headmask": {"resolution": "1", "suffix": "mask", "desc": "brain"}, "t1wimage": {"resolution": "1", "suffix": "T1w"}, }, )
result = task()
result.output.brain_mask
result.output.head_mask
result.output.t1w_image
```
Please check the list of available templates here.
Installation
console
pip install pydra-templateflow
Development
This project is managed with Hatch:
console
pipx install hatch
To run the test suite:
console
hatch run test
To fix linting issues:
console
hatch run lint:fix
License
This project is distributed under the terms of the Apache License, Version 2.0.
Owner
- Name: Ghislain Vaillant
- Login: ghisvail
- Kind: user
- Location: Paris, France
- Company: @aramis-lab
- Twitter: ghisvail
- Repositories: 198
- Profile: https://github.com/ghisvail
Research Software Engineer
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Ghislain Vaillant | g****l@g****m | 22 |
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 17 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
pypi.org: pydra-templateflow
Pydra tasks for TemplateFlow
- Documentation: https://github.com/ghisvail/pydra-templateflow#readme
- License: Apache Software License
-
Latest release: 0.0.2
published almost 3 years ago