generated from nipype/pydra-tasks-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated auto-generated yaml files with fileformats
- Loading branch information
Showing
44 changed files
with
310 additions
and
127 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
109 changes: 108 additions & 1 deletion
109
fileformats/extras/fileformats/extras/medimage_freesurfer/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,108 @@ | ||
from ._version import __version__ | ||
from pathlib import Path | ||
import typing as ty | ||
from random import Random | ||
from fileformats.core import FileSet | ||
from fileformats.medimage_freesurfer import ( | ||
Orig, | ||
Xfm, | ||
Lta, | ||
Stats, | ||
Avg_curv, | ||
Inflated, | ||
Nofix, | ||
Pial, | ||
M3z, | ||
Thickness, | ||
Annot, | ||
Label, | ||
Ctab, | ||
Out, | ||
Area, | ||
White, | ||
Reg, | ||
) | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_orig_data(orig: Orig, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_xfm_data(xfm: Xfm, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_lta_data(lta: Lta, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_stats_data(stats: Stats, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_avg_curv_data(avg_curv: Avg_curv, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_inflated_data(inflated: Inflated, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_nofix_data(nofix: Nofix, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_pial_data(pial: Pial, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_m3z_data(m3z: M3z, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_thickness_data(thickness: Thickness, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_annot_data(annot: Annot, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_label_data(label: Label, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_ctab_data(ctab: Ctab, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_out_data(out: Out, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_area_data(area: Area, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_white_data(white: White, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError | ||
|
||
|
||
@FileSet.generate_sample_data.register | ||
def gen_sample_reg_data(reg: Reg, dest_dir: Path, seed: ty.Union[int, Random], stem: ty.Optional[str]): | ||
raise NotImplementedError |
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
87 changes: 86 additions & 1 deletion
87
fileformats/src/fileformats/medimage_freesurfer/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,86 @@ | ||
from ._version import __version__ | ||
from fileformats.generic import File | ||
|
||
|
||
class Orig(File): | ||
ext = ".orig" | ||
binary = True | ||
|
||
|
||
class Xfm(File): | ||
ext = ".xfm" | ||
binary = True | ||
|
||
|
||
class Lta(File): | ||
ext = ".lta" | ||
binary = True | ||
|
||
|
||
class Stats(File): | ||
ext = ".stats" | ||
binary = True | ||
|
||
|
||
class Avg_curv(File): | ||
ext = ".avg_curv" | ||
binary = True | ||
|
||
|
||
class Inflated(File): | ||
ext = ".inflated" | ||
binary = True | ||
|
||
|
||
class Nofix(File): | ||
ext = ".nofix" | ||
binary = True | ||
|
||
|
||
class Pial(File): | ||
ext = ".pial" | ||
binary = True | ||
|
||
|
||
class M3z(File): | ||
ext = ".m3z" | ||
binary = True | ||
|
||
|
||
class Thickness(File): | ||
ext = ".thickness" | ||
binary = True | ||
|
||
|
||
class Annot(File): | ||
ext = ".annot" | ||
binary = True | ||
|
||
|
||
class Label(File): | ||
ext = ".label" | ||
binary = True | ||
|
||
|
||
class Ctab(File): | ||
ext = ".ctab" | ||
binary = True | ||
|
||
|
||
class Out(File): | ||
ext = ".out" | ||
binary = True | ||
|
||
|
||
class Area(File): | ||
ext = ".area" | ||
binary = True | ||
|
||
|
||
class White(File): | ||
ext = ".white" | ||
binary = True | ||
|
||
|
||
class Reg(File): | ||
ext = ".reg" | ||
binary = True |
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
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.