From d58397475b449f71a13220f0347fb32a5c078d52 Mon Sep 17 00:00:00 2001 From: Sarthak Kapoor Date: Tue, 3 Sep 2024 10:51:14 +0200 Subject: [PATCH] Fix for rebasing issues --- src/nomad_measurements/transmission/schema.py | 1 + src/nomad_measurements/xrd/__init__.py | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/nomad_measurements/transmission/schema.py b/src/nomad_measurements/transmission/schema.py index 6cbf8f9a..d7a19016 100644 --- a/src/nomad_measurements/transmission/schema.py +++ b/src/nomad_measurements/transmission/schema.py @@ -19,6 +19,7 @@ import os import re from typing import TYPE_CHECKING + from nomad.datamodel.data import ( ArchiveSection, EntryData, diff --git a/src/nomad_measurements/xrd/__init__.py b/src/nomad_measurements/xrd/__init__.py index 86e95635..a088a3d4 100644 --- a/src/nomad_measurements/xrd/__init__.py +++ b/src/nomad_measurements/xrd/__init__.py @@ -14,21 +14,6 @@ def load(self): ) -class XRDParserEntryPoint(ParserEntryPoint): - def load(self): - from nomad_measurements.xrd.parser import XRDParser - - return XRDParser(**self.dict()) - - -parser = XRDParserEntryPoint( - name='XRD Parser', - description='Parser for several kinds of raw files from XRD measurements.', - mainfile_name_re=r'^.*\.xrdml$|^.*\.rasx$|^.*\.brml$', - mainfile_mime_re='text/.*|application/zip', -) - - class XRDParserEntryPoint(ParserEntryPoint): def load(self): from nomad_measurements.xrd.parser import XRDParser