Skip to content
Snippets Groups Projects
Commit ea8c5bd9 authored by felmer's avatar felmer
Browse files

SSDM-13489: Throw exception in case of unspecified ELN Settings

parent 354ae773
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -121,6 +121,8 @@ class Acceptor(object):
class Settings(object):
def __init__(self, inventorySpaces, mainMenues, sampleTypeViewAttributes):
if len(mainMenues) == 0:
raise NoSuchFileException("No main menues defined because ELN Settings are yet specified.")
self.inventorySpaces = inventorySpaces
self.mainMenues = mainMenues
self.sampleTypeViewAttributes = sampleTypeViewAttributes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment