Skip to content

Commit e4e8851

Browse files
authored
Merge pull request #598 from FAIRmat-NFDI/fix_for_nexus_app_after_pynxtool_update
Update for nexus app after pynxtools update
2 parents 0c8c005 + 6855d62 commit e4e8851

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pynxtools/nomad/entrypoints.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ def load(self):
204204
size=MenuSizeEnum.LG,
205205
items=[
206206
MenuItemTerms(
207-
title="Model",
207+
title="Name",
208208
search_quantity=f"data.ENTRY.INSTRUMENT.name__field#{schema}",
209209
width=12,
210210
options=12,
211211
),
212212
MenuItemTerms(
213-
name="Name",
214-
search_quantity=f"data.ENTRY.INSTRUMENT.name#{schema}",
213+
title="Short Name",
214+
search_quantity=f"data.ENTRY.INSTRUMENT.name___short_name#{schema}",
215215
width=12,
216216
options=12,
217217
),
@@ -229,7 +229,7 @@ def load(self):
229229
),
230230
MenuItemTerms(
231231
title="Sample ID",
232-
search_quantity=f"data.ENTRY.SAMPLE.sample_id__field#{schema}",
232+
search_quantity=f"data.ENTRY.SAMPLE.identifierNAME__field#{schema}",
233233
width=12,
234234
options=12,
235235
),
@@ -267,7 +267,7 @@ def load(self):
267267
),
268268
MenuItemHistogram(
269269
title="Start Time",
270-
x=f"data.ENTRY.start_time#{schema}",
270+
x=f"data.ENTRY.start_time__field#{schema}",
271271
autorange=True,
272272
),
273273
MenuItemHistogram(

0 commit comments

Comments
 (0)