Skip to content

Commit

Permalink
using fixed upload name as filters_locked
Browse files Browse the repository at this point in the history
  • Loading branch information
schumannj committed Jun 24, 2024
1 parent e4b11d5 commit a69a5c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nomad_unisyscat/apps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
Filters,
)

schema = 'nomad_unisyscat.schema_packages.*'

myapp = AppEntryPoint(
name='UniSysCatApp',
description='Explore UniSysCat example data.',
Expand Down Expand Up @@ -39,6 +41,7 @@
filter_menus=FilterMenus(
options={
'material': FilterMenu(label='Material'),
'elements': FilterMenu(label='Elements / Formula', level=1, size='xl'),
'eln': FilterMenu(label='Electronic Lab Notebook'),
'custom_quantities': FilterMenu(label='User Defined Quantities'),
'author': FilterMenu(label='Author / Origin / Dataset'),
Expand All @@ -48,6 +51,7 @@
filters=Filters(
include=['*#nomad_unisyscat.schema_packages.mypackage.*'],
),
filters_locked={'upload_name': 'UniSysCat Test Data'}, #schema},
dashboard={
'widgets': [
{
Expand Down

0 comments on commit a69a5c2

Please sign in to comment.