From adadf827397812d381364621e955ca74cc0a35e6 Mon Sep 17 00:00:00 2001 From: Christopher Sherman Date: Tue, 12 Mar 2024 11:33:05 -0700 Subject: [PATCH] Updating error message, GEOS name --- docs/index.rst | 4 ++-- geos_ats_package/geos_ats/helpers/restart_check.py | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 50516d1..d72849e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,7 +8,7 @@ Python Tools Python Tools Setup --------------------------------- -The preferred method to setup the GEOSX python tools is to run the following command in the build directory: +The preferred method to setup the GEOS python tools is to run the following command in the build directory: .. code-block:: bash @@ -24,7 +24,7 @@ The ats setup command also sets up the python tools: These will attempt to install the required packages into the python distribution indicated via the `Python3_EXECUTABLE` cmake variable (also used by pygeosx). If any package dependencies are missing, then the install script will attempt to fetch them from the internet using pip. -After installation, these packages will be available for import within the associated python distribution, and a set of console scripts will be available within the GEOSX build bin directory. +After installation, these packages will be available for import within the associated python distribution, and a set of console scripts will be available within the GEOS build bin directory. .. note:: diff --git a/geos_ats_package/geos_ats/helpers/restart_check.py b/geos_ats_package/geos_ats/helpers/restart_check.py index 551667a..ad7c8d5 100644 --- a/geos_ats_package/geos_ats/helpers/restart_check.py +++ b/geos_ats_package/geos_ats/helpers/restart_check.py @@ -123,7 +123,10 @@ def filesDiffer( self ): self.compareGroups( file, base_file ) else: - self.output.write( f"\nRank {rank} Failed to load target and/or baseline files \n" ) + if file is None: + self.output.write( f"\nRank {rank} failed to load target file: {self.file_path}\n" ) + if base_file is None: + self.output.write( f"\nRank {rank} failed to load baseline file: {self.baseline_path}\n" ) self.different = True return self.different