Skip to content

Commit

Permalink
Test data can now be analyzed without Gaussian or MacroModel installed
Browse files Browse the repository at this point in the history
  • Loading branch information
KristapsE committed May 7, 2020
1 parent 83dbd65 commit 9790077
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Gaussian.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ def RunCalcs(GausJobs):

NCompleted = 0
Completed = []

if len(GausJobs) == 0:
print("There were no jobs to run.")
return Completed

gausdir = os.environ['GAUSS_EXEDIR']
GausPrefix = gausdir + "/g09 < "

Expand All @@ -302,8 +307,6 @@ def RunCalcs(GausJobs):

if NCompleted > 0:
print(str(NCompleted) + " Gaussian jobs completed successfully.")
elif len(GausJobs) == 0:
print("There were no jobs to run.")

return Completed

Expand Down

0 comments on commit 9790077

Please sign in to comment.