Skip to content

Commit 218acd3

Browse files
committed
fixed bug related to updated fileformats to_mime
1 parent 4ecf344 commit 218acd3

File tree

3 files changed

+90
-9
lines changed

3 files changed

+90
-9
lines changed

conftest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@
1313
EXAMPLE_WORKFLOWS_DIR = EXAMPLE_SPECS_DIR / "workflow"
1414

1515

16-
@File.generate_sample_data.register
17-
def file_generate_sample_data(file: File, dest_dir: Path):
18-
a_file = dest_dir / "a_file.x"
19-
a_file.write_text("a sample file")
20-
return [a_file]
21-
22-
2316
@pytest.fixture
2417
def gen_test_conftest():
2518
return PKG_DIR / "scripts" / "pkg_gen" / "resources" / "conftest.py"

scripts/pkg_gen/create_packages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def combine_types(type_, prev_type):
323323
InputsConverter,
324324
{
325325
"types": {
326-
n: fileformats.core.utils.to_mime(t)
326+
n: fileformats.core.utils.to_mime(t, official=False)
327327
for n, t in input_types.items()
328328
}
329329
},
@@ -333,7 +333,7 @@ def combine_types(type_, prev_type):
333333
OutputsConverter,
334334
{
335335
"types": {
336-
n: fileformats.core.utils.to_mime(t)
336+
n: fileformats.core.utils.to_mime(t, official=False)
337337
for n, t in output_types.items()
338338
},
339339
"templates": output_templates,

scripts/pkg_gen/freesurfer-only.yaml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
packages:
2+
- freesurfer
3+
interfaces:
4+
freesurfer:
5+
- ParseDICOMDir
6+
- UnpackSDICOMDir
7+
- MRIConvert
8+
- Resample
9+
- ReconAll
10+
- BBRegister
11+
- ApplyVolTransform
12+
- Smooth
13+
- DICOMConvert
14+
- RobustRegister
15+
- FitMSParams
16+
- SynthesizeFLASH
17+
- MNIBiasCorrection
18+
- WatershedSkullStrip
19+
- Normalize
20+
- CANormalize
21+
- CARegister
22+
- CALabel
23+
- MRIsCALabel
24+
- SegmentCC
25+
- SegmentWM
26+
- EditWMwithAseg
27+
- ConcatenateLTA
28+
- MRISPreproc
29+
- MRISPreprocReconAll
30+
- GLMFit
31+
- OneSampleTTest
32+
- Binarize
33+
- Concatenate
34+
- SegStats
35+
- SegStatsReconAll
36+
- Label2Vol
37+
- MS_LDA
38+
- Label2Label
39+
- Label2Annot
40+
- SphericalAverage
41+
- SampleToSurface
42+
- SurfaceSmooth
43+
- SurfaceTransform
44+
- Surface2VolTransform
45+
- SurfaceSnapshots
46+
- ApplyMask
47+
- MRIsConvert
48+
- MRITessellate
49+
- MRIPretess
50+
- MRIMarchingCubes
51+
- SmoothTessellation
52+
- MakeAverageSubject
53+
- ExtractMainComponent
54+
- Tkregister2
55+
- AddXFormToHeader
56+
- CheckTalairachAlignment
57+
- TalairachAVI
58+
- TalairachQC
59+
- RemoveNeck
60+
- MRIFill
61+
- MRIsInflate
62+
- Sphere
63+
- FixTopology
64+
- EulerNumber
65+
- RemoveIntersection
66+
- MakeSurfaces
67+
- Curvature
68+
- CurvatureStats
69+
- Jacobian
70+
- MRIsCalc
71+
- VolumeMask
72+
- ParcellationStats
73+
- Contrast
74+
- RelabelHypointensities
75+
- Aparc2Aseg
76+
- Apas2Aseg
77+
- MRIsExpand
78+
- MRIsCombine
79+
- RobustTemplate
80+
- FuseSegmentations
81+
- MPRtoMNI305
82+
- RegisterAVItoTalairach
83+
- EMRegister
84+
- Register
85+
- Paint
86+
- MRICoreg
87+
- GTMSeg
88+
- GTMPVC

0 commit comments

Comments
 (0)