Skip to content
Snippets Groups Projects
Commit 38a0e9f6 authored by Jacques Grelet's avatar Jacques Grelet
Browse files

add exit if n=0

parent 9df07d8d
No related branches found
No related tags found
No related merge requests found
......@@ -187,6 +187,9 @@ class Trajectory:
self.__data[key][idx] = item[key]
self.n = n
if n == 0:
sys.exit("No file read, check for a match between the file names and the toml configuration file")
# save all database columns as key
self.keys = self.__data.keys()
......
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