Skip to content
Snippets Groups Projects
Commit ded9fd27 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Moved expected filenames from GiBUU output to lookup

parent 10b118bc
No related branches found
No related tags found
1 merge request!1Merge python environment
......@@ -96,6 +96,11 @@ class GiBUUOutput:
f for f in listdir(self._data_dir)
if isfile(join(self._data_dir, f))
]
if "FinalEvents.dat" in self.output_files:
if EVENT_FILENAME in self.output_files:
setattr(self, "events",
FinalEvents(join(self._data_dir, "FinalEvents.dat")))
FinalEvents(join(self._data_dir, EVENT_FILENAME)))
if XSECTION_FILENAMES["all"] in self.output_files:
setattr(
self, "xsection",
NeutrinoAbsorptionXSection(
join(self._data_dir, XSECTION_FILENAMES["all"])))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment