nimare 0.5.3__tar.gz → 0.5.4rc1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. {nimare-0.5.3/nimare.egg-info → nimare-0.5.4rc1}/PKG-INFO +1 -1
  2. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/_version.py +3 -3
  3. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/io.py +41 -19
  4. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_io.py +99 -7
  5. {nimare-0.5.3 → nimare-0.5.4rc1/nimare.egg-info}/PKG-INFO +1 -1
  6. {nimare-0.5.3 → nimare-0.5.4rc1}/LICENSE +0 -0
  7. {nimare-0.5.3 → nimare-0.5.4rc1}/MANIFEST.in +0 -0
  8. {nimare-0.5.3 → nimare-0.5.4rc1}/README.md +0 -0
  9. {nimare-0.5.3 → nimare-0.5.4rc1}/benchmarks/__init__.py +0 -0
  10. {nimare-0.5.3 → nimare-0.5.4rc1}/benchmarks/bench_cbma.py +0 -0
  11. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/__init__.py +0 -0
  12. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/annotate/__init__.py +0 -0
  13. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/annotate/cogat.py +0 -0
  14. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/annotate/gclda.py +0 -0
  15. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/annotate/lda.py +0 -0
  16. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/annotate/text.py +0 -0
  17. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/annotate/utils.py +0 -0
  18. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/base.py +0 -0
  19. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/cli.py +0 -0
  20. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/correct.py +0 -0
  21. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/dataset.py +0 -0
  22. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/decode/__init__.py +0 -0
  23. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/decode/base.py +0 -0
  24. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/decode/continuous.py +0 -0
  25. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/decode/discrete.py +0 -0
  26. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/decode/encode.py +0 -0
  27. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/decode/utils.py +0 -0
  28. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/diagnostics.py +0 -0
  29. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/estimator.py +0 -0
  30. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/extract/__init__.py +0 -0
  31. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/extract/extract.py +0 -0
  32. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/extract/utils.py +0 -0
  33. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/generate.py +0 -0
  34. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/__init__.py +0 -0
  35. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/cbma/__init__.py +0 -0
  36. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/cbma/ale.py +0 -0
  37. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/cbma/base.py +0 -0
  38. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/cbma/mkda.py +0 -0
  39. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/cbmr.py +0 -0
  40. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/ibma.py +0 -0
  41. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/kernel.py +0 -0
  42. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/models.py +0 -0
  43. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/meta/utils.py +0 -0
  44. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/nimads.py +0 -0
  45. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/reports/__init__.py +0 -0
  46. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/reports/base.py +0 -0
  47. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/reports/default.yml +0 -0
  48. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/reports/figures.py +0 -0
  49. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/reports/report.tpl +0 -0
  50. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/__init__.py +0 -0
  51. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/atlases/Harvard-Oxford-LICENSE +0 -0
  52. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/atlases/HarvardOxford-cort-maxprob-thr25-2mm.nii.gz +0 -0
  53. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/database_file_manifest.json +0 -0
  54. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/english_spellings.csv +0 -0
  55. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/filenames.json +0 -0
  56. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/neurosynth_laird_studies.json +0 -0
  57. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/neurosynth_stoplist.txt +0 -0
  58. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/nidm_pain_dset.json +0 -0
  59. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/references.bib +0 -0
  60. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/semantic_knowledge_children.txt +0 -0
  61. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/semantic_relatedness_children.txt +0 -0
  62. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/templates/MNI152_2x2x2_brainmask.nii.gz +0 -0
  63. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/templates/tpl-MNI152NLin6Asym_res-01_T1w.nii.gz +0 -0
  64. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/templates/tpl-MNI152NLin6Asym_res-01_desc-brain_mask.nii.gz +0 -0
  65. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/templates/tpl-MNI152NLin6Asym_res-02_T1w.nii.gz +0 -0
  66. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/resources/templates/tpl-MNI152NLin6Asym_res-02_desc-brain_mask.nii.gz +0 -0
  67. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/results.py +0 -0
  68. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/stats.py +0 -0
  69. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/__init__.py +0 -0
  70. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/conftest.py +0 -0
  71. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/amygdala_roi.nii.gz +0 -0
  72. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/data-neurosynth_version-7_coordinates.tsv.gz +0 -0
  73. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/data-neurosynth_version-7_metadata.tsv.gz +0 -0
  74. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/data-neurosynth_version-7_vocab-terms_source-abstract_type-tfidf_features.npz +0 -0
  75. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/data-neurosynth_version-7_vocab-terms_vocabulary.txt +0 -0
  76. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/neurosynth_dset.json +0 -0
  77. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/neurosynth_laird_studies.json +0 -0
  78. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/nidm_pain_dset.json +0 -0
  79. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/nimads_annotation.json +0 -0
  80. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/nimads_studyset.json +0 -0
  81. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_baseline.txt +0 -0
  82. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_pain_dataset.json +0 -0
  83. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_pain_dataset_multiple_contrasts.json +0 -0
  84. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_sleuth_file.txt +0 -0
  85. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_sleuth_file2.txt +0 -0
  86. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_sleuth_file3.txt +0 -0
  87. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_sleuth_file4.txt +0 -0
  88. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/data/test_sleuth_file5.txt +0 -0
  89. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_annotate_cogat.py +0 -0
  90. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_annotate_gclda.py +0 -0
  91. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_annotate_lda.py +0 -0
  92. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_dataset.py +0 -0
  93. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_decode_continuous.py +0 -0
  94. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_decode_discrete.py +0 -0
  95. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_diagnostics.py +0 -0
  96. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_estimator_performance.py +0 -0
  97. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_extract.py +0 -0
  98. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_generate.py +0 -0
  99. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_meta_ale.py +0 -0
  100. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_meta_cbmr.py +0 -0
  101. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_meta_ibma.py +0 -0
  102. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_meta_kernel.py +0 -0
  103. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_meta_mkda.py +0 -0
  104. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_nimads.py +0 -0
  105. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_reports.py +0 -0
  106. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_stats.py +0 -0
  107. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_transforms.py +0 -0
  108. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_utils.py +0 -0
  109. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/test_workflows.py +0 -0
  110. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/tests/utils.py +0 -0
  111. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/transforms.py +0 -0
  112. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/utils.py +0 -0
  113. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/workflows/__init__.py +0 -0
  114. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/workflows/base.py +0 -0
  115. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/workflows/cbma.py +0 -0
  116. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/workflows/ibma.py +0 -0
  117. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/workflows/macm.py +0 -0
  118. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare/workflows/misc.py +0 -0
  119. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare.egg-info/SOURCES.txt +0 -0
  120. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare.egg-info/dependency_links.txt +0 -0
  121. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare.egg-info/entry_points.txt +0 -0
  122. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare.egg-info/not-zip-safe +0 -0
  123. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare.egg-info/requires.txt +0 -0
  124. {nimare-0.5.3 → nimare-0.5.4rc1}/nimare.egg-info/top_level.txt +0 -0
  125. {nimare-0.5.3 → nimare-0.5.4rc1}/pypi_description.md +0 -0
  126. {nimare-0.5.3 → nimare-0.5.4rc1}/pyproject.toml +0 -0
  127. {nimare-0.5.3 → nimare-0.5.4rc1}/setup.cfg +0 -0
  128. {nimare-0.5.3 → nimare-0.5.4rc1}/setup.py +0 -0
  129. {nimare-0.5.3 → nimare-0.5.4rc1}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nimare
3
- Version: 0.5.3
3
+ Version: 0.5.4rc1
4
4
  Summary: NiMARE: Neuroimaging Meta-Analysis Research Environment
5
5
  Home-page: https://github.com/neurostuff/NiMARE
6
6
  Author: NiMARE developers
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-07-26T17:24:25-0500",
11
+ "date": "2025-07-30T11:49:13-0500",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "096951f4879c2b5f508463c2efc4a3da9ebaf9bc",
15
- "version": "0.5.3"
14
+ "full-revisionid": "aa29fabbe739d247d1502bd7825a670018651aa5",
15
+ "version": "0.5.4rc1"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -63,31 +63,53 @@ def convert_nimads_to_dataset(studyset, annotation=None):
63
63
  },
64
64
  }
65
65
 
66
- sample_sizes = analysis.metadata.get("sample_sizes")
67
- sample_size = None
66
+ sample_sizes = analysis.metadata.get("sample_sizes", None)
67
+ sample_size = analysis.metadata.get("sample_size", None)
68
68
 
69
69
  # Validate sample sizes if present
70
70
  if sample_sizes is not None and not isinstance(sample_sizes, (list, tuple)):
71
- raise TypeError(
72
- f"Expected sample_sizes to be list or tuple, but got {type(sample_sizes)}"
71
+ LGR.warning(
72
+ f"Expected sample_sizes to be list or tuple, but got {type(sample_sizes)}."
73
73
  )
74
-
75
- if not sample_sizes:
76
- # Try to get single sample size from analysis or study metadata
77
- sample_size = analysis.metadata.get("sample_size")
78
- if sample_size is None:
79
- sample_size = study.metadata.get("sample_size")
80
-
74
+ sample_sizes = None
75
+ elif sample_sizes is not None:
76
+ # Validate each sample size in the list
77
+ for i, ss in enumerate(sample_sizes):
78
+ if not isinstance(ss, (int, float)):
79
+ LGR.warning(
80
+ f"Expected sample_sizes[{i}] to be numeric, but got {type(ss)}."
81
+ " Attempting to convert to numeric."
82
+ )
83
+ try:
84
+ sample_sizes[i] = int(ss)
85
+ except (ValueError, TypeError):
86
+ try:
87
+ sample_sizes[i] = float(ss)
88
+ except (ValueError, TypeError):
89
+ LGR.warning(f"Could not convert {ss} to numeric from type {type(ss)}.")
90
+ sample_sizes = None
91
+ break
92
+
93
+ if not sample_sizes and sample_size:
81
94
  # Validate single sample size if present
82
- if sample_size is not None and not isinstance(sample_size, (int, float)):
83
- raise TypeError(f"Expected sample_size to be numeric, but got {type(sample_size)}")
84
-
85
- # Add sample size info to result if available
86
- if sample_sizes or sample_size is not None:
95
+ if not isinstance(sample_size, (int, float)):
96
+ LGR.warning(
97
+ f"Expected sample_size to be numeric, but got {type(sample_size)}."
98
+ " Attempting to convert to numeric."
99
+ )
87
100
  try:
88
- result["metadata"]["sample_sizes"] = sample_sizes or [sample_size]
89
- except TypeError as e:
90
- raise TypeError(f"Error converting sample size data to list: {str(e)}") from e
101
+ sample_sizes = [int(sample_size)]
102
+ except (ValueError, TypeError):
103
+ try:
104
+ sample_sizes = [float(sample_size)]
105
+ except (ValueError, TypeError):
106
+ LGR.warning(
107
+ f"Could not convert {sample_size} to"
108
+ f" numeric from type {type(sample_size)}."
109
+ )
110
+ sample_sizes = None
111
+ if sample_sizes:
112
+ result["metadata"]["sample_sizes"] = sample_sizes
91
113
 
92
114
  # Handle annotations if present
93
115
  if analysis.annotations:
@@ -1,5 +1,6 @@
1
1
  """Test nimare.io (Dataset IO/transformations)."""
2
2
 
3
+ import copy
3
4
  import os
4
5
 
5
6
  import pytest
@@ -52,16 +53,107 @@ def test_convert_nimads_to_dataset_single_sample_size(
52
53
  assert "sample_sizes" in dset.metadata.columns
53
54
 
54
55
 
55
- def test_analysis_to_dict_invalid_sample_sizes_type(example_nimads_studyset):
56
- """Test _analysis_to_dict raises ValueError when sample_sizes is not a list/tuple."""
56
+ @pytest.mark.parametrize(
57
+ "sample_sizes_val,sample_size_val,expect_col,expect_warning",
58
+ [
59
+ (5, None, False, True),
60
+ ([5, "6", "7.3", "not_a_number"], None, False, True),
61
+ (None, 10, True, False),
62
+ (None, 10.5, True, False),
63
+ (None, "12", True, True),
64
+ (None, "13.5", True, True),
65
+ (None, "not_a_number", False, True),
66
+ (None, None, False, False),
67
+ ([], 7, True, False),
68
+ ([], None, False, False),
69
+ ],
70
+ )
71
+ def test_analysis_to_dict_sample_size(
72
+ example_nimads_studyset, sample_sizes_val, sample_size_val, expect_col, expect_warning, caplog
73
+ ):
74
+ """Test conversion of nimads JSON to nimare dataset with different sample_size(s) values."""
57
75
  studyset = Studyset(example_nimads_studyset)
58
- # Set sample_sizes to an int rather than list/tuple
59
76
  for study in studyset.studies:
60
77
  for analysis in study.analyses:
61
- analysis.metadata["sample_sizes"] = 5
62
- with pytest.raises(TypeError):
63
- # Trigger conversion which internally calls _analysis_to_dict
64
- io.convert_nimads_to_dataset(studyset)
78
+ analysis.metadata.clear()
79
+ if sample_sizes_val is not None:
80
+ analysis.metadata["sample_sizes"] = sample_sizes_val
81
+ if sample_size_val is not None:
82
+ analysis.metadata["sample_size"] = sample_size_val
83
+
84
+ with caplog.at_level("WARNING"):
85
+ dset = io.convert_nimads_to_dataset(studyset)
86
+ assert isinstance(dset, nimare.dataset.Dataset)
87
+ if expect_col:
88
+ assert "sample_sizes" in dset.metadata.columns
89
+ else:
90
+ assert "sample_sizes" not in dset.metadata.columns
91
+ if expect_warning:
92
+ assert any(
93
+ "sample_size" in record.message or "sample_sizes" in record.message
94
+ for record in caplog.records
95
+ )
96
+ else:
97
+ assert not any(
98
+ "sample_size" in record.message or "sample_sizes" in record.message
99
+ for record in caplog.records
100
+ )
101
+
102
+
103
+ @pytest.mark.parametrize(
104
+ "annotation_mod,expect_success,expect_typeerror",
105
+ [
106
+ # No annotation at all
107
+ (None, True, False),
108
+ # Annotation with empty notes
109
+ (lambda ann: ann.update({"notes": []}), True, False),
110
+ # Annotation with extra irrelevant key
111
+ (lambda ann: ann.update({"extra_key": 123}), True, False),
112
+ # Annotation with missing 'notes' key (should fail)
113
+ (lambda ann: ann.pop("notes", None), False, True),
114
+ # Annotation with mismatched analysis id in notes (should warn/fail)
115
+ (
116
+ lambda ann: ann["notes"].append(
117
+ {
118
+ "analysis_name": "Fake",
119
+ "publication": "Fake",
120
+ "study": ann["notes"][0]["study"],
121
+ "study_year": 2025,
122
+ "analysis": "not_in_studyset",
123
+ "authors": "Nobody",
124
+ "note": {"include": False},
125
+ "study_name": "Fake",
126
+ }
127
+ ),
128
+ True,
129
+ True,
130
+ ),
131
+ ],
132
+ )
133
+ def test_analysis_to_dict_annotation(
134
+ example_nimads_studyset,
135
+ example_nimads_annotation,
136
+ annotation_mod,
137
+ expect_success,
138
+ expect_typeerror,
139
+ ):
140
+ """Test conversion of nimads JSON to nimare dataset with various annotation modifications."""
141
+ studyset = Studyset(example_nimads_studyset)
142
+ if annotation_mod is not None:
143
+ annotation = copy.deepcopy(example_nimads_annotation)
144
+ annotation_mod(annotation)
145
+ if expect_typeerror:
146
+ with pytest.raises((TypeError, ValueError, KeyError)):
147
+ studyset.annotations = annotation
148
+ io.convert_nimads_to_dataset(studyset)
149
+ else:
150
+ studyset.annotations = annotation
151
+ dset = io.convert_nimads_to_dataset(studyset)
152
+ assert expect_success
153
+ else:
154
+ # No annotation
155
+ dset = io.convert_nimads_to_dataset(studyset)
156
+ assert isinstance(dset, nimare.dataset.Dataset)
65
157
 
66
158
 
67
159
  def test_convert_sleuth_to_dataset_smoke():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nimare
3
- Version: 0.5.3
3
+ Version: 0.5.4rc1
4
4
  Summary: NiMARE: Neuroimaging Meta-Analysis Research Environment
5
5
  Home-page: https://github.com/neurostuff/NiMARE
6
6
  Author: NiMARE developers
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes