Skip to content
Snippets Groups Projects
Commit 0c064e09 authored by Shomik Adhicary's avatar Shomik Adhicary Committed by Divya Singh
Browse files

Config validation for inj tisi file

parent d987b87a
No related branches found
No related tags found
1 merge request!612Combined online-offline ranks
......@@ -219,6 +219,9 @@ class Config(BaseConfig):
valiate for injection-related section
"""
if not self.injections.time_slide_file:
raise ValueError("time_slide_file not specified under injections section in config")
if not self.injections.filter:
raise ValueError("filter option is not set under injections section in config.")
......
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