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

improve error msg before exit

parent a35ddb75
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ class Profile:
self.m = m
self.n = n
if n == 0:
sys.exit("No file read, check for a match between the file names and the toml configuration file")
sys.exit("No file read ! Are you in the right directory ? Check for a match between the file names and the toml configuration file")
def read_files(self, cfg, device):
......
......@@ -189,7 +189,7 @@ class Trajectory:
self.n = n
if n == 0:
sys.exit("No file read, check for a match between the file names and the toml configuration file")
sys.exit("No file read ! Are you in the right directory ? 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