Skip to content

Commit 6b5e21d

Browse files
committed
chore: use real metadata field names
1 parent 0544a05 commit 6b5e21d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/aind_metadata_viz/query.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,24 +225,24 @@ def __init__(self, **params):
225225
super().__init__(**params)
226226
self.query_viewer = QueryViewer({})
227227
self.project_name_selector = pn.widgets.Select(
228-
name="Project Name",
228+
name="DataDescription.project_name",
229229
options=[""] + get_project_names(), # Add empty string option
230230
value=self.project_name,
231231
)
232232
self.subject_id_selector = pn.widgets.MultiChoice(
233-
name="Subject IDs",
233+
name="Subject.subject_id",
234234
options=[""] + get_subject_ids(None), # Add empty string option
235235
value=self.subject_ids,
236236
disabled=True,
237237
)
238238
self.modality_selector = pn.widgets.MultiChoice(
239-
name="Modalities",
239+
name="DataDescription.modality",
240240
options=[""] + get_modalities(None), # Add empty string option
241241
value=self.modalities,
242242
disabled=True,
243243
)
244244
self.session_type_selector = pn.widgets.MultiChoice(
245-
name="Session Types",
245+
name="Session.session_type",
246246
options=[""] + get_session_types(None), # Add empty string option
247247
value=[],
248248
width=500,

0 commit comments

Comments
 (0)