Skip to content

Commit

Permalink
Copy latest changes from AreaA repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-sarthak committed Dec 20, 2024
1 parent 67b7dbb commit 598ca03
Show file tree
Hide file tree
Showing 3 changed files with 836 additions and 522 deletions.
24 changes: 21 additions & 3 deletions src/nomad_measurements/transmission/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#
# Copyright The NOMAD Authors.
#
# This file is part of NOMAD. See https://nomad-lab.eu for further info.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

from nomad.config.models.plugins import ParserEntryPoint, SchemaPackageEntryPoint


Expand Down Expand Up @@ -25,13 +43,13 @@ def load(self):

schema = TransmissionSchemaEntryPoint(
name='Transmission Schema',
description='Schema for Transmission Spectrophotometry FAIR data.',
description='Schema for data from Transmission Spectrophotometry.',
)


parser = TransmissionParserEntryPoint(
name='Transmission Parser',
description='Parser for raw files from Transmission measurements.',
mainfile_name_re='^.*\.asc$',
description='Parser for data from Transmission Spectrophotometry.',
mainfile_mime_re='text/.*|application/zip',
mainfile_name_re='^.*\.asc$',
)
Loading

0 comments on commit 598ca03

Please sign in to comment.