From 075cc425081d8c0d3d57363bbbecad8b04d9ebbf Mon Sep 17 00:00:00 2001 From: Corin Wagen Date: Wed, 22 Jul 2020 15:45:58 -0400 Subject: [PATCH] added something --- cctk/parse_gaussian.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cctk/parse_gaussian.py b/cctk/parse_gaussian.py index e549a3b..f7b4f77 100644 --- a/cctk/parse_gaussian.py +++ b/cctk/parse_gaussian.py @@ -929,6 +929,9 @@ def parse_modes(freq_block, num_atoms, hpmodes=False): force_ks = list() displacements = list() + if len(freq_block) == 0: + return None + chunks = freq_block[0].split("Freq") if hpmodes: