Skip to content

Commit

Permalink
Merge pull request #77 from nplinden/format
Browse files Browse the repository at this point in the history
format
  • Loading branch information
nplinden authored Dec 9, 2024
2 parents e49e42d + 693d301 commit c5e6148
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ndmanager/API/process/hdf5_tsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def process(self):
if not self.temperatures:
data = ThermalScattering.from_njoy(self.neutron, self.tsl)
else:
data = ThermalScattering.from_njoy(self.neutron, self.tsl, self.temperatures)
data = ThermalScattering.from_njoy(
self.neutron, self.tsl, self.temperatures
)
assert self.path.name == f"{data.name}.h5"
data.export_to_hdf5(self.path, "w")
logger.info("Processing time: %.1f", time.time() - t0)

0 comments on commit c5e6148

Please sign in to comment.