From c6c12f83790a0cc39ba337bda99e53549298c9eb Mon Sep 17 00:00:00 2001
From: Lauri Himanen <lauri.himanen@gmail.com>
Date: Fri, 20 Dec 2024 07:14:32 +0000
Subject: [PATCH] Resolve "Remove use of deprecated HDF5Reference"

---
 .../nomad_plugin_gui/schema_packages/values_test_schema.py | 2 --
 src/mocks/syntheticApi.nomad.data.json                     | 7 -------
 2 files changed, 9 deletions(-)

diff --git a/infra/src/nomad_plugin_gui/schema_packages/values_test_schema.py b/infra/src/nomad_plugin_gui/schema_packages/values_test_schema.py
index 9d9a61ee..8897d637 100644
--- a/infra/src/nomad_plugin_gui/schema_packages/values_test_schema.py
+++ b/infra/src/nomad_plugin_gui/schema_packages/values_test_schema.py
@@ -17,7 +17,6 @@ from nomad.metainfo import (
     Bytes,
     Dimension,
     Unit,
-    HDF5Reference,
 )
 
 
@@ -51,7 +50,6 @@ class QuantityTypes(MSection):
     json_quantity = Quantity(type=JSON)
     dimension_quantity = Quantity(type=Dimension)
     unit_quantity = Quantity(type=Unit)
-    hdf5_reference_quantity = Quantity(type=HDF5Reference)
 
     section_reference = Quantity(type=Reference(Referenced))
 
diff --git a/src/mocks/syntheticApi.nomad.data.json b/src/mocks/syntheticApi.nomad.data.json
index 6e6d83ee..96a4cc6e 100644
--- a/src/mocks/syntheticApi.nomad.data.json
+++ b/src/mocks/syntheticApi.nomad.data.json
@@ -10410,13 +10410,6 @@
                 "type_data": "nomad.metainfo.data_type.Unit"
               }
             },
-            {
-              "name": "hdf5_reference_quantity",
-              "type": {
-                "type_kind": "custom",
-                "type_data": "nomad.metainfo.data_type.HDF5Reference"
-              }
-            },
             {
               "name": "section_reference",
               "type": {
-- 
GitLab