Skip to content

Commit bc58fbf

Browse files
authored
update nexus app - change sampleID column and remove usedID (#601)
1 parent e4e8851 commit bc58fbf

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/pynxtools/nomad/entrypoints.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def load(self):
121121
),
122122
Column(
123123
title="Author",
124-
search_quantity=f"[data.ENTRY[*].USER[*].name__field, data.ENTRY[*].userID[*].name__field]#{schema}",
124+
search_quantity=f"data.ENTRY[*].USER[*].name__field#{schema}",
125125
selected=True,
126126
),
127127
Column(
@@ -131,7 +131,7 @@ def load(self):
131131
),
132132
Column(
133133
title="Sample ID",
134-
search_quantity=f"data.ENTRY[*].SAMPLE[*].sample_id__field#{schema}",
134+
search_quantity=f"data.ENTRY[*].SAMPLE[*].identifierNAME__field#{schema}",
135135
selected=False,
136136
),
137137
Column(
@@ -245,12 +245,6 @@ def load(self):
245245
width=12,
246246
options=5,
247247
),
248-
MenuItemTerms(
249-
title="User ID / Entry Author",
250-
search_quantity=f"data.ENTRY.userID.name__field#{schema}#str",
251-
width=12,
252-
options=5,
253-
),
254248
MenuItemTerms(
255249
title="Upload Author",
256250
search_quantity=f"authors.name",

0 commit comments

Comments
 (0)