junifer 0.0.5.dev48__py3-none-any.whl → 0.0.5.dev55__py3-none-any.whl

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.
junifer/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.0.5.dev48'
16
- __version_tuple__ = version_tuple = (0, 0, 5, 'dev48')
15
+ __version__ = version = '0.0.5.dev55'
16
+ __version_tuple__ = version_tuple = (0, 0, 5, 'dev55')
@@ -326,7 +326,9 @@ def get_parcellation(
326
326
  # Call antsApplyTransforms
327
327
  run_ext_cmd(name="antsApplyTransforms", cmd=apply_transforms_cmd)
328
328
 
329
- img = nib.load(warped_parcellation_path)
329
+ raw_img = nib.load(warped_parcellation_path)
330
+ # Remove extra dimension added by ANTs
331
+ img = image.math_img("np.squeeze(img)", img=raw_img)
330
332
 
331
333
  # Resample parcellation to target image
332
334
  img_to_merge = image.resample_to_img(
@@ -208,7 +208,7 @@ class ParcelAggregation(BaseMarker):
208
208
  )
209
209
  # Get "logical and" version of parcellation and mask
210
210
  parcellation_bin = math_img(
211
- "np.logical_and(img, mask)",
211
+ "np.logical_and(img, np.squeeze(mask))",
212
212
  img=parcellation_bin,
213
213
  mask=mask_img,
214
214
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: junifer
3
- Version: 0.0.5.dev48
3
+ Version: 0.0.5.dev55
4
4
  Summary: JUelich NeuroImaging FEature extractoR
5
5
  Author-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Synchon Mandal <s.mandal@fz-juelich.de>
6
6
  Maintainer-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Synchon Mandal <s.mandal@fz-juelich.de>
@@ -1,5 +1,5 @@
1
1
  junifer/__init__.py,sha256=x1UR2jUcrUdm2HNl-3Qvyi4UUrU6ms5qm2qcmNY7zZk,391
2
- junifer/_version.py,sha256=EyYigB7-PzZ_TCv16ateewbga35csyccbEi_liFHPpY,426
2
+ junifer/_version.py,sha256=90ff6GY7_c87BOkjLC8yIcP5SrNVuB-0ZLklOIkeBBs,426
3
3
  junifer/stats.py,sha256=jN22_qFvWYBU9ZIMnCSzN4iOscWnWrcrUPIdLeDkV64,6163
4
4
  junifer/api/__init__.py,sha256=pSj8V8tmwOAQ3sshWJfRfB-n3z5bcJj3pHOBX4-8ONc,251
5
5
  junifer/api/cli.py,sha256=wtU7Rv9tDIT-4KQAkG6WxiE6mop3cuz6XxGDewceHPs,15329
@@ -54,7 +54,7 @@ junifer/configs/juseless/datagrabbers/tests/test_ukb_vbm.py,sha256=b9hjc1mgO--PS
54
54
  junifer/data/__init__.py,sha256=Z3CdIXpXK3Avxm2Qj7MsuNNZSM8Pc5KBa9D51DYd1v0,602
55
55
  junifer/data/coordinates.py,sha256=AovvAdPhl9oQoH4T24jhzW0UuNL8wRYtkYrYHhvtRC8,12381
56
56
  junifer/data/masks.py,sha256=x2vjMLRRGWt0fRGJ67_TjAdrrHZLE0VVnr3KizSbMnI,21427
57
- junifer/data/parcellations.py,sha256=reNi0YdxP0sQYnB_tnxabP73FkvkdXXGsDLn68-hnfM,65225
57
+ junifer/data/parcellations.py,sha256=emjjttFE7v1TN_4YdeDdahuOOGiXapuFkfu8ur9TVNQ,65345
58
58
  junifer/data/template_spaces.py,sha256=2dD9GIBgsd764ol3ZvmHL11VrsaBC78CwrMaMh4TCGQ,5756
59
59
  junifer/data/utils.py,sha256=Jmbc7SLzy4nLP_zkWv_aJzb1MZ27tutJ98ifsECCamM,1295
60
60
  junifer/data/VOIs/meta/AutobiographicalMemory_VOIs.txt,sha256=9af38naeL18Tlt_gy_ep6vyTAxOB336JYjbo5FvP8PQ,686
@@ -126,7 +126,7 @@ junifer/markers/__init__.py,sha256=LjrBMZtWB0LKOnEwiFV-qsWzGUH2ka84VwS0h7wF45U,7
126
126
  junifer/markers/base.py,sha256=Af8TyoNAIHWREZkIgi2su6PUqoloJXVGT-KW13WlWUM,6370
127
127
  junifer/markers/collection.py,sha256=eD6_IJ3y-9lcN4r0ORZqgr2ICjHyTvlAKyh0HKPYqzk,5247
128
128
  junifer/markers/ets_rss.py,sha256=7fr6mmbMM5NKIDV6bUyyu-pwHJH56GwYv6oozK4EX6k,4557
129
- junifer/markers/parcel_aggregation.py,sha256=4dKBx2zgsFSuZlnSsr1tMWO_4kgh-NoId7epoiwTPfg,8702
129
+ junifer/markers/parcel_aggregation.py,sha256=FECIPG7x8GXxbE2wNCqw6o1-630nlQxvm2YMkzb4HLs,8714
130
130
  junifer/markers/sphere_aggregation.py,sha256=3gC8-Z0qbX2y_q-YbwpnPll6lmKZY5V-DdQQA7tFzWc,8275
131
131
  junifer/markers/utils.py,sha256=b6Bt_isqsOD2OF7oHvEpHyilauxYZzyz8YcbGWq6J4A,3833
132
132
  junifer/markers/complexity/__init__.py,sha256=nzL6GpVlFhMDaWyJ-ZtpPx940LUSAUmYcyqLoQ7K1-E,818
@@ -248,10 +248,10 @@ junifer/utils/logging.py,sha256=furcU3XIUpUvnpe4PEwzWWIWgmH4j2ZA4MQdvSGWjj0,9216
248
248
  junifer/utils/tests/test_fs.py,sha256=WQS7cKlKEZ742CIuiOYYpueeAhY9PqlastfDVpVVtvE,923
249
249
  junifer/utils/tests/test_helpers.py,sha256=k5qqfxK8dFyuewTJyR1Qn6-nFaYNuVr0ysc18bfPjyU,929
250
250
  junifer/utils/tests/test_logging.py,sha256=l8oo-AiBV7H6_IzlsNcj__cLeZBUvgIGoaMszD9VaJg,7754
251
- junifer-0.0.5.dev48.dist-info/AUTHORS.rst,sha256=rmULKpchpSol4ExWFdm-qu4fkpSZPYqIESVJBZtGb6E,163
252
- junifer-0.0.5.dev48.dist-info/LICENSE.md,sha256=MqCnOBu8uXsEOzRZWh9EBVfVz-kE9NkXcLCrtGXo2yU,34354
253
- junifer-0.0.5.dev48.dist-info/METADATA,sha256=HcvOlaAOoZhs_ipslMx8_9IRDL4aDzQSLgIp4d0zx6o,8234
254
- junifer-0.0.5.dev48.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
255
- junifer-0.0.5.dev48.dist-info/entry_points.txt,sha256=DxFvKq0pOqRunAK0FxwJcoDfV1-dZvsFDpD5HRqSDhw,48
256
- junifer-0.0.5.dev48.dist-info/top_level.txt,sha256=4bAq1R2QFQ4b3hohjys2JBvxrl0GKk5LNFzYvz9VGcA,8
257
- junifer-0.0.5.dev48.dist-info/RECORD,,
251
+ junifer-0.0.5.dev55.dist-info/AUTHORS.rst,sha256=rmULKpchpSol4ExWFdm-qu4fkpSZPYqIESVJBZtGb6E,163
252
+ junifer-0.0.5.dev55.dist-info/LICENSE.md,sha256=MqCnOBu8uXsEOzRZWh9EBVfVz-kE9NkXcLCrtGXo2yU,34354
253
+ junifer-0.0.5.dev55.dist-info/METADATA,sha256=9L2XcGUK0SiiPDME1gF1L4jmnSa7O5w6mP8oO9VasTA,8234
254
+ junifer-0.0.5.dev55.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
255
+ junifer-0.0.5.dev55.dist-info/entry_points.txt,sha256=DxFvKq0pOqRunAK0FxwJcoDfV1-dZvsFDpD5HRqSDhw,48
256
+ junifer-0.0.5.dev55.dist-info/top_level.txt,sha256=4bAq1R2QFQ4b3hohjys2JBvxrl0GKk5LNFzYvz9VGcA,8
257
+ junifer-0.0.5.dev55.dist-info/RECORD,,