From 1dd24a80513525a861ea265f58295c13bf5666b7 Mon Sep 17 00:00:00 2001
From: "Mads M. Pedersen" <mmpe@dtu.dk>
Date: Wed, 12 Oct 2016 08:03:39 +0200
Subject: [PATCH] added missing structure_eigenanalysis_file_name to
 output_files

---
 wetb/hawc2/htc_file.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wetb/hawc2/htc_file.py b/wetb/hawc2/htc_file.py
index 9ecf35df..1b78265b 100644
--- a/wetb/hawc2/htc_file.py
+++ b/wetb/hawc2/htc_file.py
@@ -194,6 +194,10 @@ class HTCFile(HTCContents, HTCDefaults):
                 f = self.new_htc_structure.system_eigenanalysis[0]
                 files.append(f)
                 files.append(os.path.join(os.path.dirname(f), 'mode*.dat').replace("\\", "/"))
+            if 'structure_eigenanalysis_file_name' in self.new_htc_structure:
+                f = self.new_htc_structure.structure_eigenanalysis_file_name[0]
+                files.append(f)
+                files.append(os.path.join(os.path.dirname(f), 'mode*.dat').replace("\\", "/"))
         files.extend(self.res_file_lst())
 
         for key in [k for k in self.contents.keys() if k.startswith("output_at_time")]:
-- 
GitLab