assertnotos.path.relpath(os.path.join(self.exepath,dst),self.modelpath).startswith(".."),"%s referes to a file outside the model path\nAll input files be inside model path"%dst
ifself.get_confirmation("File missing","'%s' seems to be missing in the temporary working directory. \n\nDo you want to add it to additional_files.txt"%filename):
self.add_additional_input_file(filename)
self.show_message("'%s' is now added to additional_files.txt.\n\nPlease restart the simulation"%filename)
self.show_message(
"'%s' is now added to additional_files.txt.\n\nPlease restart the simulation"%filename)
forerrorinself.errors:
forregexin[r".*\*\*\* ERROR \*\*\* File '(.*)' does not exist in the (.*) folder",