Browse Source

analysis id example: sort values to ensure order is deterministic (`git diff` in CI pipeline)

Fabian Peter Hammerle 1 month ago
parent
commit
839ccf68ca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/freesurfer_hipposf.ipynb

+ 2 - 2
examples/freesurfer_hipposf.ipynb

@@ -197,7 +197,7 @@
     {
      "data": {
       "text/plain": [
-       "[None, 'T2']"
+       "array(['T2', None], dtype=object)"
       ]
      },
      "execution_count": 5,
@@ -206,7 +206,7 @@
     }
    ],
    "source": [
-    "list(volume_frame['analysis_id'].unique())"
+    "volume_frame['analysis_id'].sort_values().unique()"
    ]
   },
   {