Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
format the new code added
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeichlersmith committed Jan 22, 2024
1 parent 2a27cb5 commit 3fb33da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Framework/ConfigurePython.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -275,16 +275,16 @@ ConfigurePython::ConfigurePython(const std::string& pythonScript, char* args[],
// assumes that nargs >= 0
// this is true always because we error out if no python script has been
// found

// load a handle to the config file into memory (and check that it exists)
FILE* config_file{fopen(pythonScript.c_str(), "r")};
if (config_file == NULL) {
EXCEPTION_RAISE(
"ConfigDNE",
"Passed config script '"+pythonScript+"' is not accessible.\n"
" Did you make a typo in the path to the script?\n"
" Are you referencing a directory that is not mounted to the container?"
);
EXCEPTION_RAISE("ConfigDNE",
"Passed config script '" + pythonScript +
"' is not accessible.\n"
" Did you make a typo in the path to the script?\n"
" Are you referencing a directory that is not "
"mounted to the container?");
}

std::string cmd = pythonScript;
Expand Down

0 comments on commit 3fb33da

Please sign in to comment.