The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'Value', 'Key'}) and 18 missing columns ({'field', 'border_fraction', 'max_object_fraction', 'object_type', 'tiny_fraction', 'diameter_ratio', 'foreground_fraction', 'median_diameter', 'outlier_fraction', 'severity', 'n_objects', 'flags', 'median_area', 'count_ratio', 'mad_diameter', 'note', 'n_interior', 'split_ratio'}).
This happened while the csv dataset builder was generating data using
hf://datasets/einarolafsson/spacr-example-measure/settings/gen_mask_settings.csv (at revision 636ea1d1fa44bb00d0be9961f3bb4121ff48a835), ['hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/qc/segmentation_qc_cell.csv', 'hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/qc/segmentation_qc_nucleus.csv', 'hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/qc/segmentation_qc_pathogen.csv', 'hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/settings/gen_mask_settings.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
Key: string
Value: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 495
to
{'field': Value('string'), 'object_type': Value('string'), 'n_objects': Value('int64'), 'severity': Value('string'), 'flags': Value('string'), 'border_fraction': Value('float64'), 'count_ratio': Value('float64'), 'diameter_ratio': Value('float64'), 'foreground_fraction': Value('float64'), 'mad_diameter': Value('float64'), 'max_object_fraction': Value('float64'), 'median_area': Value('float64'), 'median_diameter': Value('float64'), 'n_interior': Value('int64'), 'outlier_fraction': Value('float64'), 'split_ratio': Value('float64'), 'tiny_fraction': Value('float64'), 'note': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'Value', 'Key'}) and 18 missing columns ({'field', 'border_fraction', 'max_object_fraction', 'object_type', 'tiny_fraction', 'diameter_ratio', 'foreground_fraction', 'median_diameter', 'outlier_fraction', 'severity', 'n_objects', 'flags', 'median_area', 'count_ratio', 'mad_diameter', 'note', 'n_interior', 'split_ratio'}).
This happened while the csv dataset builder was generating data using
hf://datasets/einarolafsson/spacr-example-measure/settings/gen_mask_settings.csv (at revision 636ea1d1fa44bb00d0be9961f3bb4121ff48a835), ['hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/qc/segmentation_qc_cell.csv', 'hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/qc/segmentation_qc_nucleus.csv', 'hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/qc/segmentation_qc_pathogen.csv', 'hf://datasets/einarolafsson/spacr-example-measure@636ea1d1fa44bb00d0be9961f3bb4121ff48a835/settings/gen_mask_settings.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
field string | object_type string | n_objects int64 | severity string | flags string | border_fraction float64 | count_ratio float64 | diameter_ratio float64 | foreground_fraction float64 | mad_diameter float64 | max_object_fraction float64 | median_area float64 | median_diameter float64 | n_interior int64 | outlier_fraction float64 | split_ratio float64 | tiny_fraction float64 | note string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plate1_E01_10_1 | cell | 63 | ok | null | 0.238095 | 1.21154 | 1.03046 | 0.359142 | 26.6714 | 0.015218 | 23,882.5 | 174.378 | 48 | 0 | 1.01587 | 0 | 63 cell(s), median diameter 174.4 px, 24% on the border, foreground 35.9%. Nothing wrong with this field. |
plate1_E01_11_1 | cell | 51 | ok | null | 0.235294 | 0.980769 | 1.07108 | 0.287782 | 23.0474 | 0.012302 | 25,802 | 181.252 | 39 | 0 | null | 0 | 51 cell(s), median diameter 181.3 px, 24% on the border, foreground 28.8%. Nothing wrong with this field. |
plate1_E01_12_1 | cell | 40 | warn | high_border_fraction | 0.425 | 0.769231 | 1.21619 | 0.284499 | 29.8747 | 0.015875 | 33,267 | 205.808 | 23 | 0 | null | 0 | 40 cell(s), median diameter 205.8 px, 42% on the border, foreground 28.4%. 42% of objects touch the field edge, so their crops will be truncated. |
plate1_E01_13_1 | cell | 69 | warn | high_border_fraction | 0.318841 | 1.32692 | 0.970553 | 0.381818 | 24.2484 | 0.013656 | 21,186 | 164.24 | 47 | 0 | 0.942029 | 0 | 69 cell(s), median diameter 164.2 px, 32% on the border, foreground 38.2%. 32% of objects touch the field edge, so their crops will be truncated. |
plate1_E01_14_1 | cell | 57 | ok | null | 0.140351 | 1.09615 | 0.998307 | 0.314163 | 20.2476 | 0.012621 | 22,415 | 168.937 | 49 | 0.102041 | null | 0.020408 | 57 cell(s), median diameter 168.9 px, 14% on the border, foreground 31.4%. Nothing wrong with this field. |
plate1_E01_16_1 | cell | 27 | ok | null | 0.296296 | 0.519231 | 1.19055 | 0.231224 | 17.3767 | 0.023612 | 31,879 | 201.469 | 19 | 0 | null | 0 | 27 cell(s), median diameter 201.5 px, 30% on the border, foreground 23.1%. Nothing wrong with this field. |
plate1_E01_17_1 | cell | 22 | warn | high_border_fraction | 0.363636 | 0.423077 | 1.17374 | 0.143343 | 39.606 | 0.012346 | 31,104 | 198.624 | 14 | 0 | null | 0 | 22 cell(s), median diameter 198.6 px, 36% on the border, foreground 14.3%. 36% of objects touch the field edge, so their crops will be truncated. |
plate1_E01_18_1 | cell | 62 | ok | null | 0.209677 | 1.19231 | 0.864372 | 0.259792 | 28.8704 | 0.01419 | 16,804 | 146.272 | 49 | 0 | null | 0 | 62 cell(s), median diameter 146.3 px, 21% on the border, foreground 26.0%. Nothing wrong with this field. |
plate1_E01_19_1 | cell | 27 | ok | null | 0.148148 | 0.519231 | 1.07224 | 0.178762 | 38.0876 | 0.01467 | 25,858 | 181.448 | 23 | 0 | null | 0 | 27 cell(s), median diameter 181.4 px, 15% on the border, foreground 17.9%. Nothing wrong with this field. |
plate1_E01_1_1 | cell | 44 | ok | null | 0.227273 | 0.846154 | 0.900005 | 0.206386 | 41.3547 | 0.018675 | 18,218 | 152.302 | 34 | 0 | null | 0 | 44 cell(s), median diameter 152.3 px, 23% on the border, foreground 20.6%. Nothing wrong with this field. |
plate1_E01_20_1 | cell | 83 | ok | null | 0.253012 | 1.59615 | 0.871606 | 0.356764 | 26.3656 | 0.018805 | 17,089 | 147.496 | 62 | 0 | 0.819277 | 0 | 83 cell(s), median diameter 147.5 px, 25% on the border, foreground 35.7%. Nothing wrong with this field. |
plate1_E01_21_1 | cell | 68 | ok | null | 0.161765 | 1.30769 | 1.01074 | 0.396382 | 27.2186 | 0.015004 | 22,977 | 171.042 | 57 | 0 | 0.970588 | 0 | 68 cell(s), median diameter 171.0 px, 16% on the border, foreground 39.6%. Nothing wrong with this field. |
plate1_E01_9_1 | cell | 65 | warn | high_border_fraction | 0.307692 | 1.25 | 1.04745 | 0.382435 | 27.3951 | 0.017866 | 24,676 | 177.253 | 45 | 0 | 0.953846 | 0 | 65 cell(s), median diameter 177.3 px, 31% on the border, foreground 38.2%. 31% of objects touch the field edge, so their crops will be truncated. |
plate1_E02_10_1 | cell | 41 | ok | null | 0.292683 | 0.788462 | 1.092 | 0.275378 | 39.8628 | 0.016816 | 26,820 | 184.793 | 29 | 0 | null | 0 | 41 cell(s), median diameter 184.8 px, 29% on the border, foreground 27.5%. Nothing wrong with this field. |
plate1_E02_11_1 | cell | 32 | ok | null | 0.21875 | 0.615385 | 1.13567 | 0.189347 | 25.011 | 0.013903 | 29,008 | 192.183 | 25 | 0 | null | 0 | 32 cell(s), median diameter 192.2 px, 22% on the border, foreground 18.9%. Nothing wrong with this field. |
plate1_E02_12_1 | cell | 50 | warn | high_border_fraction | 0.32 | 0.961538 | 1.06849 | 0.321454 | 24.8445 | 0.014971 | 25,682 | 180.813 | 34 | 0 | null | 0 | 50 cell(s), median diameter 180.8 px, 32% on the border, foreground 32.1%. 32% of objects touch the field edge, so their crops will be truncated. |
plate1_E02_13_1 | cell | 70 | ok | null | 0.185714 | 1.34615 | 1.00006 | 0.389544 | 17.1533 | 0.014742 | 22,494 | 169.234 | 57 | 0 | 0.942857 | 0 | 70 cell(s), median diameter 169.2 px, 19% on the border, foreground 39.0%. Nothing wrong with this field. |
plate1_E02_14_1 | cell | 43 | warn | high_border_fraction | 0.372093 | 0.826923 | 0.931778 | 0.179219 | 24.071 | 0.015381 | 19,527 | 157.679 | 27 | 0 | null | 0 | 43 cell(s), median diameter 157.7 px, 37% on the border, foreground 17.9%. 37% of objects touch the field edge, so their crops will be truncated. |
plate1_E02_16_1 | cell | 61 | ok | null | 0.295082 | 1.17308 | 1.07214 | 0.369724 | 26.0376 | 0.016944 | 25,853 | 181.431 | 43 | 0 | 0.852459 | 0.023256 | 61 cell(s), median diameter 181.4 px, 30% on the border, foreground 37.0%. Nothing wrong with this field. |
plate1_E02_17_1 | cell | 47 | ok | null | 0.234043 | 0.903846 | 1.13308 | 0.324556 | 24.3114 | 0.019596 | 28,876 | 191.744 | 36 | 0 | null | 0 | 47 cell(s), median diameter 191.7 px, 23% on the border, foreground 32.5%. Nothing wrong with this field. |
plate1_E02_18_1 | cell | 86 | ok | null | 0.267442 | 1.65385 | 0.958637 | 0.421876 | 28.0748 | 0.01574 | 20,669 | 162.224 | 63 | 0 | 0.872093 | 0 | 86 cell(s), median diameter 162.2 px, 27% on the border, foreground 42.2%. Nothing wrong with this field. |
plate1_E02_19_1 | cell | 43 | ok | null | 0.209302 | 0.826923 | 0.897543 | 0.222786 | 34.4472 | 0.02366 | 18,125 | 151.885 | 34 | 0 | null | 0.029412 | 43 cell(s), median diameter 151.9 px, 21% on the border, foreground 22.3%. Nothing wrong with this field. |
plate1_E02_1_1 | cell | 29 | warn | high_border_fraction | 0.310345 | 0.557692 | 0.992857 | 0.157048 | 38.9553 | 0.01228 | 22,173.5 | 168.015 | 20 | 0 | null | 0 | 29 cell(s), median diameter 168.0 px, 31% on the border, foreground 15.7%. 31% of objects touch the field edge, so their crops will be truncated. |
plate1_E02_20_1 | cell | 91 | ok | null | 0.186813 | 1.75 | 0.913465 | 0.461504 | 22.9587 | 0.011833 | 18,767 | 154.58 | 74 | 0 | 0.78022 | 0 | 91 cell(s), median diameter 154.6 px, 19% on the border, foreground 46.2%. Nothing wrong with this field. |
plate1_E02_21_1 | cell | 77 | ok | null | 0.246753 | 1.48077 | 0.95558 | 0.415482 | 30.2954 | 0.016258 | 20,538.5 | 161.706 | 58 | 0 | 0.792208 | 0 | 77 cell(s), median diameter 161.7 px, 25% on the border, foreground 41.5%. Nothing wrong with this field. |
plate1_E02_9_1 | cell | 17 | ok | null | 0.117647 | 0.326923 | 1.08215 | 0.111788 | 21.8464 | 0.013014 | 26,338 | 183.125 | 15 | 0 | null | 0 | 17 cell(s), median diameter 183.1 px, 12% on the border, foreground 11.2%. Nothing wrong with this field. |
plate1_L01_10_1 | cell | 68 | ok | null | 0.294118 | 1.30769 | 1.0742 | 0.380035 | 29.8382 | 0.010941 | 25,955.5 | 181.779 | 48 | 0 | 0.882353 | 0 | 68 cell(s), median diameter 181.8 px, 29% on the border, foreground 38.0%. Nothing wrong with this field. |
plate1_L01_11_1 | cell | 53 | warn | high_border_fraction | 0.358491 | 1.01923 | 1.09971 | 0.356687 | 35.8789 | 0.021524 | 27,201 | 186.097 | 34 | 0 | 0.981132 | 0 | 53 cell(s), median diameter 186.1 px, 36% on the border, foreground 35.7%. 36% of objects touch the field edge, so their crops will be truncated. |
plate1_L01_12_1 | cell | 65 | ok | null | 0.246154 | 1.25 | 0.980171 | 0.346111 | 31.766 | 0.015421 | 21,608 | 165.868 | 49 | 0 | null | 0 | 65 cell(s), median diameter 165.9 px, 25% on the border, foreground 34.6%. Nothing wrong with this field. |
plate1_L01_13_1 | cell | 79 | ok | null | 0.265823 | 1.51923 | 1.02339 | 0.411435 | 49.6036 | 0.01249 | 23,556 | 173.182 | 58 | 0 | 0.886076 | 0 | 79 cell(s), median diameter 173.2 px, 27% on the border, foreground 41.1%. Nothing wrong with this field. |
plate1_L01_14_1 | cell | 57 | warn | high_border_fraction | 0.421053 | 1.09615 | 0.995095 | 0.313201 | 29.6899 | 0.011315 | 22,271 | 168.393 | 33 | 0 | null | 0 | 57 cell(s), median diameter 168.4 px, 42% on the border, foreground 31.3%. 42% of objects touch the field edge, so their crops will be truncated. |
plate1_L01_16_1 | cell | 38 | ok | null | 0.263158 | 0.730769 | 1.07813 | 0.218447 | 27.2904 | 0.01318 | 26,143 | 182.445 | 28 | 0 | null | 0 | 38 cell(s), median diameter 182.4 px, 26% on the border, foreground 21.8%. Nothing wrong with this field. |
plate1_L01_17_1 | cell | 48 | ok | null | 0.208333 | 0.923077 | 0.841959 | 0.22017 | 41.9854 | 0.015923 | 15,944 | 142.479 | 38 | 0 | null | 0 | 48 cell(s), median diameter 142.5 px, 21% on the border, foreground 22.0%. Nothing wrong with this field. |
plate1_L01_18_1 | cell | 64 | ok | null | 0.21875 | 1.23077 | 0.90829 | 0.316474 | 30.5857 | 0.013962 | 18,555 | 153.704 | 50 | 0 | null | 0 | 64 cell(s), median diameter 153.7 px, 22% on the border, foreground 31.6%. Nothing wrong with this field. |
plate1_L01_19_1 | cell | 42 | ok | null | 0.261905 | 0.807692 | 1.04696 | 0.224387 | 26.4141 | 0.010028 | 24,653 | 177.17 | 31 | 0 | null | 0 | 42 cell(s), median diameter 177.2 px, 26% on the border, foreground 22.4%. Nothing wrong with this field. |
plate1_L01_1_1 | cell | 18 | warn | high_border_fraction | 0.444444 | 0.346154 | 0.999936 | 0.079455 | 21.8616 | 0.009542 | 22,528.5 | 169.213 | 10 | 0 | null | 0 | 18 cell(s), median diameter 169.2 px, 44% on the border, foreground 7.9%. 44% of objects touch the field edge, so their crops will be truncated. |
plate1_L01_20_1 | cell | 89 | ok | null | 0.224719 | 1.71154 | 0.896019 | 0.433539 | 41.2891 | 0.020522 | 18,057 | 151.627 | 69 | 0 | 0.932584 | 0.028986 | 89 cell(s), median diameter 151.6 px, 22% on the border, foreground 43.4%. Nothing wrong with this field. |
plate1_L01_21_1 | cell | 97 | ok | null | 0.206186 | 1.86538 | 0.873175 | 0.479569 | 26.583 | 0.023344 | 17,148 | 147.762 | 77 | 0 | 0.845361 | 0 | 97 cell(s), median diameter 147.8 px, 21% on the border, foreground 48.0%. Nothing wrong with this field. |
plate1_L01_9_1 | cell | 71 | ok | null | 0.267606 | 1.36538 | 0.984871 | 0.37205 | 25.9114 | 0.025842 | 21,816 | 166.663 | 52 | 0.019231 | 0.915493 | 0 | 71 cell(s), median diameter 166.7 px, 27% on the border, foreground 37.2%. Nothing wrong with this field. |
plate1_L02_10_1 | cell | 64 | ok | null | 0.1875 | 1.23077 | 0.941207 | 0.318841 | 36.2114 | 0.013774 | 19,926 | 159.274 | 52 | 0 | null | 0 | 64 cell(s), median diameter 159.3 px, 19% on the border, foreground 31.9%. Nothing wrong with this field. |
plate1_L02_11_1 | cell | 30 | warn | high_border_fraction | 0.433333 | 0.576923 | 1.10574 | 0.146568 | 18.6505 | 0.009895 | 27,499 | 187.117 | 17 | 0.058824 | null | 0 | 30 cell(s), median diameter 187.1 px, 43% on the border, foreground 14.7%. 43% of objects touch the field edge, so their crops will be truncated. |
plate1_L02_12_1 | cell | 38 | warn | high_border_fraction | 0.315789 | 0.730769 | 1.21702 | 0.283147 | 29.0251 | 0.016888 | 33,314 | 205.948 | 26 | 0 | null | 0 | 38 cell(s), median diameter 205.9 px, 32% on the border, foreground 28.3%. 32% of objects touch the field edge, so their crops will be truncated. |
plate1_L02_13_1 | cell | 62 | ok | null | 0.209677 | 1.19231 | 1.01037 | 0.302216 | 32.0868 | 0.01508 | 22,960 | 170.978 | 49 | 0 | null | 0 | 62 cell(s), median diameter 171.0 px, 21% on the border, foreground 30.2%. Nothing wrong with this field. |
plate1_L02_14_1 | cell | 31 | ok | null | 0.258065 | 0.596154 | 1.01686 | 0.169556 | 22.0704 | 0.012786 | 23,256 | 172.077 | 23 | 0 | null | 0 | 31 cell(s), median diameter 172.1 px, 26% on the border, foreground 17.0%. Nothing wrong with this field. |
plate1_L02_16_1 | cell | 37 | ok | null | 0.243243 | 0.711538 | 1.04857 | 0.223052 | 28.6596 | 0.01874 | 24,735 | 177.443 | 28 | 0 | null | 0 | 37 cell(s), median diameter 177.4 px, 24% on the border, foreground 22.3%. Nothing wrong with this field. |
plate1_L02_17_1 | cell | 22 | ok | null | 0.272727 | 0.423077 | 0.91506 | 0.085876 | 62.8753 | 0.009479 | 18,833.5 | 154.85 | 16 | 0 | null | 0 | 22 cell(s), median diameter 154.8 px, 27% on the border, foreground 8.6%. Nothing wrong with this field. |
plate1_L02_18_1 | cell | 54 | ok | null | 0.240741 | 1.03846 | 0.89659 | 0.241031 | 28.0648 | 0.018483 | 18,080 | 151.724 | 41 | 0 | null | 0 | 54 cell(s), median diameter 151.7 px, 24% on the border, foreground 24.1%. Nothing wrong with this field. |
plate1_L02_19_1 | cell | 41 | ok | null | 0.146341 | 0.788462 | 0.994178 | 0.220652 | 25.7673 | 0.012359 | 22,230 | 168.238 | 35 | 0 | null | 0 | 41 cell(s), median diameter 168.2 px, 15% on the border, foreground 22.1%. Nothing wrong with this field. |
plate1_L02_1_1 | cell | 30 | warn | high_border_fraction | 0.366667 | 0.576923 | 1.10155 | 0.149602 | 15.1427 | 0.015447 | 27,291 | 186.408 | 19 | 0.105263 | null | 0 | 30 cell(s), median diameter 186.4 px, 37% on the border, foreground 15.0%. 37% of objects touch the field edge, so their crops will be truncated. |
plate1_L02_20_1 | cell | 80 | ok | null | 0.2 | 1.53846 | 0.801138 | 0.318923 | 29.1469 | 0.009402 | 14,435.5 | 135.571 | 64 | 0 | null | 0 | 80 cell(s), median diameter 135.6 px, 20% on the border, foreground 31.9%. Nothing wrong with this field. |
plate1_L02_21_1 | cell | 51 | warn | high_border_fraction | 0.352941 | 0.980769 | 0.746189 | 0.180667 | 28.0907 | 0.012143 | 12,523 | 126.273 | 33 | 0 | null | 0 | 51 cell(s), median diameter 126.3 px, 35% on the border, foreground 18.1%. 35% of objects touch the field edge, so their crops will be truncated. |
plate1_L02_9_1 | cell | 59 | ok | null | 0.288136 | 1.13462 | 0.998889 | 0.308109 | 26.0527 | 0.011133 | 22,461.5 | 169.035 | 42 | 0 | null | 0 | 59 cell(s), median diameter 169.0 px, 29% on the border, foreground 30.8%. Nothing wrong with this field. |
plate1_E01_10_1 | nucleus | 65 | ok | null | 0.169231 | 1.13043 | 1.06201 | 0.11671 | 13.0716 | 0.003069 | 7,925.5 | 100.454 | 54 | 0 | null | 0 | 65 nucleus(s), median diameter 100.5 px, 17% on the border, foreground 11.7%. Nothing wrong with this field. |
plate1_E01_11_1 | nucleus | 48 | ok | null | 0.125 | 0.834783 | 1.08222 | 0.089125 | 9.93937 | 0.003099 | 8,230 | 102.366 | 42 | 0 | null | 0 | 48 nucleus(s), median diameter 102.4 px, 12% on the border, foreground 8.9%. Nothing wrong with this field. |
plate1_E01_12_1 | nucleus | 39 | ok | null | 0.282051 | 0.678261 | 1.14502 | 0.083769 | 13.6046 | 0.003583 | 9,215 | 108.306 | 28 | 0 | null | 0 | 39 nucleus(s), median diameter 108.3 px, 28% on the border, foreground 8.4%. Nothing wrong with this field. |
plate1_E01_13_1 | nucleus | 73 | ok | null | 0.164384 | 1.26957 | 1.00114 | 0.123165 | 12.0625 | 0.004064 | 7,043 | 94.6965 | 61 | 0 | null | 0 | 73 nucleus(s), median diameter 94.7 px, 16% on the border, foreground 12.3%. Nothing wrong with this field. |
plate1_E01_14_1 | nucleus | 53 | ok | null | 0.09434 | 0.921739 | 1.07615 | 0.101729 | 8.94551 | 0.00346 | 8,138 | 101.792 | 48 | 0.0625 | null | 0 | 53 nucleus(s), median diameter 101.8 px, 9% on the border, foreground 10.2%. Nothing wrong with this field. |
plate1_E01_16_1 | nucleus | 27 | ok | null | 0.074074 | 0.469565 | 1.15696 | 0.063336 | 10.807 | 0.004872 | 9,406 | 109.435 | 25 | 0.08 | null | 0 | 27 nucleus(s), median diameter 109.4 px, 7% on the border, foreground 6.3%. Nothing wrong with this field. |
plate1_E01_17_1 | nucleus | 24 | ok | null | 0.125 | 0.417391 | 1.0349 | 0.043551 | 16.756 | 0.003272 | 7,526 | 97.8897 | 21 | 0 | null | 0.047619 | 24 nucleus(s), median diameter 97.9 px, 12% on the border, foreground 4.4%. Nothing wrong with this field. |
plate1_E01_18_1 | nucleus | 57 | ok | null | 0.087719 | 0.991304 | 0.945071 | 0.084645 | 13.3258 | 0.003422 | 6,276.5 | 89.3931 | 52 | 0 | null | 0 | 57 nucleus(s), median diameter 89.4 px, 9% on the border, foreground 8.5%. Nothing wrong with this field. |
plate1_E01_19_1 | nucleus | 29 | ok | null | 0.103448 | 0.504348 | 1.03002 | 0.0499 | 10.8194 | 0.00394 | 7,456.5 | 97.4288 | 26 | 0.038462 | null | 0.038462 | 29 nucleus(s), median diameter 97.4 px, 10% on the border, foreground 5.0%. Nothing wrong with this field. |
plate1_E01_1_1 | nucleus | 49 | ok | null | 0.061225 | 0.852174 | 0.902428 | 0.065492 | 18.1101 | 0.003952 | 5,723 | 85.3596 | 46 | 0 | null | 0.021739 | 49 nucleus(s), median diameter 85.4 px, 6% on the border, foreground 6.5%. Nothing wrong with this field. |
plate1_E01_20_1 | nucleus | 95 | ok | null | 0.157895 | 1.65217 | 0.907569 | 0.121297 | 14.2973 | 0.004439 | 5,788 | 85.8459 | 80 | 0 | null | 0.0125 | 95 nucleus(s), median diameter 85.8 px, 16% on the border, foreground 12.1%. Nothing wrong with this field. |
plate1_E01_21_1 | nucleus | 65 | ok | null | 0.123077 | 1.13043 | 1.02238 | 0.124227 | 10.3052 | 0.003704 | 7,345 | 96.7055 | 57 | 0 | null | 0 | 65 nucleus(s), median diameter 96.7 px, 12% on the border, foreground 12.4%. Nothing wrong with this field. |
plate1_E01_9_1 | nucleus | 64 | ok | null | 0.1875 | 1.11304 | 1.06187 | 0.122818 | 8.09563 | 0.004042 | 7,923.5 | 100.441 | 52 | 0.038462 | null | 0 | 64 nucleus(s), median diameter 100.4 px, 19% on the border, foreground 12.3%. Nothing wrong with this field. |
plate1_E02_10_1 | nucleus | 46 | ok | null | 0.130435 | 0.8 | 1.03531 | 0.082639 | 15.4027 | 0.003785 | 7,532 | 97.9286 | 40 | 0 | null | 0 | 46 nucleus(s), median diameter 97.9 px, 13% on the border, foreground 8.3%. Nothing wrong with this field. |
plate1_E02_11_1 | nucleus | 37 | ok | null | 0.081081 | 0.643478 | 0.94866 | 0.051726 | 9.15703 | 0.003329 | 6,324 | 89.7326 | 34 | 0.058824 | null | 0 | 37 nucleus(s), median diameter 89.7 px, 8% on the border, foreground 5.2%. Nothing wrong with this field. |
plate1_E02_12_1 | nucleus | 55 | ok | null | 0.145455 | 0.956522 | 1.02342 | 0.09434 | 12.8024 | 0.004292 | 7,360 | 96.8041 | 47 | 0 | null | 0 | 55 nucleus(s), median diameter 96.8 px, 15% on the border, foreground 9.4%. Nothing wrong with this field. |
plate1_E02_13_1 | nucleus | 78 | ok | null | 0.128205 | 1.35652 | 0.991533 | 0.123301 | 7.89354 | 0.002928 | 6,908.5 | 93.7879 | 68 | 0.058824 | null | 0 | 78 nucleus(s), median diameter 93.8 px, 13% on the border, foreground 12.3%. Nothing wrong with this field. |
plate1_E02_14_1 | nucleus | 41 | ok | null | 0.219512 | 0.713043 | 0.958941 | 0.054442 | 28.6818 | 0.003165 | 6,465 | 90.7051 | 32 | 0 | null | 0.03125 | 41 nucleus(s), median diameter 90.7 px, 22% on the border, foreground 5.4%. Nothing wrong with this field. |
plate1_E02_16_1 | nucleus | 59 | ok | null | 0.135593 | 1.02609 | 1.06398 | 0.106897 | 10.4456 | 0.004014 | 7,955 | 100.641 | 51 | 0.019608 | null | 0 | 59 nucleus(s), median diameter 100.6 px, 14% on the border, foreground 10.7%. Nothing wrong with this field. |
plate1_E02_17_1 | nucleus | 66 | ok | null | 0.075758 | 1.14783 | 0.964358 | 0.091151 | 24.8538 | 0.00395 | 6,535 | 91.2174 | 61 | 0 | null | 0 | 66 nucleus(s), median diameter 91.2 px, 8% on the border, foreground 9.1%. Nothing wrong with this field. |
plate1_E02_18_1 | nucleus | 83 | ok | null | 0.180723 | 1.44348 | 0.99736 | 0.130001 | 9.00069 | 0.003473 | 6,990 | 94.3391 | 68 | 0.029412 | null | 0 | 83 nucleus(s), median diameter 94.3 px, 18% on the border, foreground 13.0%. Nothing wrong with this field. |
plate1_E02_19_1 | nucleus | 39 | ok | null | 0.128205 | 0.678261 | 0.964655 | 0.069565 | 12.2888 | 0.005007 | 6,540 | 91.2456 | 34 | 0 | null | 0 | 39 nucleus(s), median diameter 91.2 px, 13% on the border, foreground 7.0%. Nothing wrong with this field. |
plate1_E02_1_1 | nucleus | 43 | ok | null | 0.116279 | 0.747826 | 0.648036 | 0.048003 | 44.7897 | 0.002778 | 2,954.5 | 61.297 | 38 | 0 | null | 0 | 43 nucleus(s), median diameter 61.3 px, 12% on the border, foreground 4.8%. Nothing wrong with this field. |
plate1_E02_20_1 | nucleus | 102 | ok | null | 0.068628 | 1.77391 | 0.970756 | 0.168665 | 11.7488 | 0.00539 | 6,622 | 91.8226 | 95 | 0 | null | 0 | 102 nucleus(s), median diameter 91.8 px, 7% on the border, foreground 16.9%. Nothing wrong with this field. |
plate1_E02_21_1 | nucleus | 73 | ok | null | 0.178082 | 1.26957 | 1.04735 | 0.132218 | 10.7624 | 0.003689 | 7,708.5 | 99.0672 | 60 | 0.05 | null | 0 | 73 nucleus(s), median diameter 99.1 px, 18% on the border, foreground 13.2%. Nothing wrong with this field. |
plate1_E02_9_1 | nucleus | 19 | ok | null | 0.105263 | 0.330435 | 1.03524 | 0.030871 | 11.7571 | 0.003125 | 7,531 | 97.9222 | 17 | 0 | null | 0 | 19 nucleus(s), median diameter 97.9 px, 11% on the border, foreground 3.1%. Nothing wrong with this field. |
plate1_L01_10_1 | nucleus | 82 | ok | null | 0.170732 | 1.42609 | 1.01581 | 0.128967 | 13.8351 | 0.003685 | 7,251 | 96.0846 | 68 | 0 | null | 0 | 82 nucleus(s), median diameter 96.1 px, 17% on the border, foreground 12.9%. Nothing wrong with this field. |
plate1_L01_11_1 | nucleus | 58 | ok | null | 0.189655 | 1.0087 | 1.05052 | 0.106577 | 13.2668 | 0.003517 | 7,755 | 99.3679 | 47 | 0 | null | 0 | 58 nucleus(s), median diameter 99.4 px, 19% on the border, foreground 10.7%. Nothing wrong with this field. |
plate1_L01_12_1 | nucleus | 60 | ok | null | 0.216667 | 1.04348 | 1.10332 | 0.115778 | 12.8327 | 0.003917 | 8,554 | 104.361 | 47 | 0 | null | 0 | 60 nucleus(s), median diameter 104.4 px, 22% on the border, foreground 11.6%. Nothing wrong with this field. |
plate1_L01_13_1 | nucleus | 69 | ok | null | 0.130435 | 1.2 | 1.09324 | 0.129246 | 15.264 | 0.0036 | 8,399 | 103.409 | 60 | 0 | null | 0 | 69 nucleus(s), median diameter 103.4 px, 13% on the border, foreground 12.9%. Nothing wrong with this field. |
plate1_L01_14_1 | nucleus | 63 | ok | null | 0.222222 | 1.09565 | 1.03421 | 0.103857 | 12.7853 | 0.0031 | 7,516 | 97.8247 | 49 | 0 | null | 0 | 63 nucleus(s), median diameter 97.8 px, 22% on the border, foreground 10.4%. Nothing wrong with this field. |
plate1_L01_16_1 | nucleus | 54 | ok | null | 0.148148 | 0.93913 | 1.00811 | 0.069117 | 25.7262 | 0.003669 | 7,141.5 | 95.3564 | 46 | 0 | null | 0.021739 | 54 nucleus(s), median diameter 95.4 px, 15% on the border, foreground 6.9%. Nothing wrong with this field. |
plate1_L01_17_1 | nucleus | 41 | ok | null | 0.170732 | 0.713043 | 0.947595 | 0.069715 | 18.0509 | 0.003858 | 6,311 | 89.6319 | 34 | 0 | null | 0 | 41 nucleus(s), median diameter 89.6 px, 17% on the border, foreground 7.0%. Nothing wrong with this field. |
plate1_L01_18_1 | nucleus | 65 | ok | null | 0.153846 | 1.13043 | 0.928955 | 0.095147 | 11.2636 | 0.003194 | 6,064 | 87.8688 | 55 | 0 | null | 0 | 65 nucleus(s), median diameter 87.9 px, 15% on the border, foreground 9.5%. Nothing wrong with this field. |
plate1_L01_19_1 | nucleus | 53 | ok | null | 0.169811 | 0.921739 | 1.00464 | 0.074589 | 12.5177 | 0.002698 | 7,092.5 | 95.0274 | 44 | 0 | null | 0.045455 | 53 nucleus(s), median diameter 95.0 px, 17% on the border, foreground 7.5%. Nothing wrong with this field. |
plate1_L01_1_1 | nucleus | 19 | ok | null | 0.157895 | 0.330435 | 0.976315 | 0.027329 | 12.4014 | 0.002894 | 6,706.5 | 92.3484 | 16 | 0 | null | 0 | 19 nucleus(s), median diameter 92.3 px, 16% on the border, foreground 2.7%. Nothing wrong with this field. |
plate1_L01_20_1 | nucleus | 87 | ok | null | 0.16092 | 1.51304 | 0.998862 | 0.138821 | 17.6767 | 0.004245 | 7,011 | 94.4811 | 73 | 0 | null | 0.013699 | 87 nucleus(s), median diameter 94.5 px, 16% on the border, foreground 13.9%. Nothing wrong with this field. |
plate1_L01_21_1 | nucleus | 95 | ok | null | 0.126316 | 1.65217 | 0.977403 | 0.155737 | 9.60926 | 0.004503 | 6,713 | 92.4514 | 83 | 0.048193 | null | 0 | 95 nucleus(s), median diameter 92.5 px, 13% on the border, foreground 15.6%. Nothing wrong with this field. |
plate1_L01_9_1 | nucleus | 72 | ok | null | 0.138889 | 1.25217 | 1.03097 | 0.123011 | 10.6082 | 0.006017 | 7,469 | 97.5183 | 62 | 0.080645 | null | 0 | 72 nucleus(s), median diameter 97.5 px, 14% on the border, foreground 12.3%. Nothing wrong with this field. |
plate1_L02_10_1 | nucleus | 83 | ok | null | 0.048193 | 1.44348 | 0.856006 | 0.098945 | 37.8118 | 0.003474 | 5,149 | 80.9686 | 79 | 0 | null | 0.025317 | 83 nucleus(s), median diameter 81.0 px, 5% on the border, foreground 9.9%. Nothing wrong with this field. |
plate1_L02_11_1 | nucleus | 30 | warn | size_outliers | 0.133333 | 0.521739 | 1.04812 | 0.039965 | 10.556 | 0.002615 | 7,719.5 | 99.1401 | 26 | 0.230769 | null | 0.115385 | 30 nucleus(s), median diameter 99.1 px, 13% on the border, foreground 4.0%. 23% of objects fall outside the robust size range 20.9-177.4 px (median 99.1 px, MAD 10.56), which a single population cannot do. |
plate1_L02_12_1 | nucleus | 92 | fail | over_segmented | 0.076087 | 1.6 | 0.272292 | 0.085235 | 17.0885 | 0.004191 | 521 | 25.7557 | 85 | 0 | null | 0 | 92 nucleus(s), median diameter 25.8 px, 8% on the border, foreground 8.5%. Nothing wrong with this field. objects are 0.27x the plate's median diameter at 1.6x its count, the signature of objects split apart. |
plate1_L02_13_1 | nucleus | 86 | ok | null | 0.151163 | 1.49565 | 0.815916 | 0.093238 | 36.1961 | 0.003744 | 4,678 | 77.1765 | 73 | 0 | null | 0 | 86 nucleus(s), median diameter 77.2 px, 15% on the border, foreground 9.3%. Nothing wrong with this field. |
plate1_L02_14_1 | nucleus | 63 | warn | size_outliers | 0.126984 | 1.09565 | 0.176538 | 0.051919 | 6.60596 | 0.00277 | 219 | 16.6985 | 55 | 0.363636 | null | 0.018182 | 63 nucleus(s), median diameter 16.7 px, 13% on the border, foreground 5.2%. 36% of objects fall outside the robust size range -32.3-65.7 px (median 16.7 px, MAD 6.61), which a single population cannot do. |
plate1_L02_16_1 | nucleus | 39 | ok | null | 0.179487 | 0.678261 | 1.04468 | 0.067703 | 12.3122 | 0.004443 | 7,669 | 98.8154 | 32 | 0 | null | 0 | 39 nucleus(s), median diameter 98.8 px, 18% on the border, foreground 6.8%. Nothing wrong with this field. |
plate1_L02_17_1 | nucleus | 18 | ok | null | 0.222222 | 0.313043 | 0.980005 | 0.028868 | 4.50692 | 0.002762 | 6,749 | 92.6975 | 14 | 0.071429 | null | 0 | 18 nucleus(s), median diameter 92.7 px, 22% on the border, foreground 2.9%. Nothing wrong with this field. |
plate1_L02_18_1 | nucleus | 56 | ok | null | 0.196429 | 0.973913 | 0.927652 | 0.081748 | 11.7075 | 0.003172 | 6,047 | 87.7455 | 45 | 0 | null | 0 | 56 nucleus(s), median diameter 87.7 px, 20% on the border, foreground 8.2%. Nothing wrong with this field. |
plate1_L02_19_1 | nucleus | 50 | ok | null | 0.06 | 0.869565 | 0.945732 | 0.068949 | 17.7107 | 0.002984 | 6,285 | 89.4556 | 47 | 0 | null | 0.021277 | 50 nucleus(s), median diameter 89.5 px, 6% on the border, foreground 6.9%. Nothing wrong with this field. |
spaCR — Measure example data
Example input for the Measure module of spaCR. These are the merged arrays a Mask run produces, so Measure can be run end to end without first segmenting anything.
What is here
| Path | What it is |
|---|---|
merged/*.npz |
16 fields, compressed. Each holds one array under the key image. |
measurements.db |
The Mask run's object counts (object_counts, pivoted_counts, run_status). |
settings/ |
The exact settings the Mask run used, as CSV and JSON. |
qc/ |
Per-object segmentation QC tables from that run. |
The arrays
Each field is (1994, 1994, 7) uint16, channels last:
| Channel | Contents |
|---|---|
| 0–3 | Image channels, as acquired |
| 4 | Cell label mask |
| 5 | Nucleus label mask |
| 6 | Pathogen label mask |
Channels 4–6 are label images — each object is a distinct integer, 0 is background — not binary masks.
Plate layout
Four wells, four fields each, taken from a 13-field-per-well plate:
E01 fields 1, 9, 10, 11
E02 fields 1, 9, 10, 11
L01 fields 1, 9, 10, 11
L02 fields 1, 9, 10, 11
The four wells are kept deliberately: dropping to a single well would make well-level aggregation and between-condition comparison untestable, which is most of what Measure does after the per-object step.
Using it
spaCR downloads this on first use from the Measure module. To use it directly:
import numpy as np
from huggingface_hub import snapshot_download
path = snapshot_download("einarolafsson/spacr-example-measure",
repo_type="dataset")
field = np.load(f"{path}/merged/plate1_E01_1_1.npz")["image"]
cell_labels = field[..., 4]
The .npz compression is a transport detail — it halves the download and is
decompressed on load. Measure reads .npy, so spaCR's own downloader writes
them out as .npy once, on arrival.
How spaCR downloads it
Everything here is also published as a single uncompressed spacr-example-measure.tar, and
that is what spaCR fetches: one request instead of 23, a progress figure
that means something, and a download that stops when you press Cancel. It is
unpacked with tar's data filter, which refuses any member that would write
outside the destination folder.
The individual files are kept beside it so the set can be browsed and previewed on this page. They are the same bytes; either is fine to use.
Provenance
Produced by spaCR's Mask module (preprocess_generate_masks) from spaCR's own
example images, with cpsam for cells and nuclei and a Toxoplasma-specific
CPSAM checkpoint for pathogens. The settings that produced it are in
settings/; absolute paths in them have been replaced with placeholders.
- Downloads last month
- 67