Skip to content

Commit

Permalink
write result to output_path (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zimmermann authored Jul 23, 2024
1 parent 781ccc5 commit 9e347da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ossdbs/axon_processing/neuron_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ def superimpose_unit_solutions(self, scaling_vector: list):
"""

# very dumb way to get self._td_solution initialized
self._td_solution = h5py.File(os.path.join(self._output_path, "combined_solution.h5"), mode="w")
self._td_solution = h5py.File(
os.path.join(self.output_path, "combined_solution.h5"), mode="w"
)
for obj in self._td_unit_solutions[0].keys():
self._td_unit_solutions[0].copy(obj, self._td_solution)

Expand Down

0 comments on commit 9e347da

Please sign in to comment.