Skip to content

Commit

Permalink
Add browser annotation for data file
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-sarthak committed Jan 9, 2025
1 parent 5d8cc94 commit b6c26b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nomad_measurements/transmission/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
EntryData,
)
from nomad.datamodel.metainfo.annotations import (
BrowserAnnotation,
ELNAnnotation,
ELNComponentEnum,
Filter,
Expand Down Expand Up @@ -1027,6 +1028,7 @@ class ELNUVVisNirTransmission(UVVisNirTransmission, PlotSection, EntryData):
a_eln=ELNAnnotation(
component=ELNComponentEnum.FileEditQuantity,
),
a_browser=BrowserAnnotation(adaptor='RawFileAdaptor'),
)

def get_read_write_functions(self) -> tuple[Callable, Callable]:
Expand Down

0 comments on commit b6c26b0

Please sign in to comment.