Explorar o código

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

Fabian Peter Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
839ccf68ca
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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()"
    ]
   },
   {