Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/MEArec/generators/recordinggenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,8 @@ def generate_recordings(
gain = 1.0 / gain_to_int
else:
gain_to_int = 1.0 / gain
else:
gain = 1.0 # Necessary to output the correct gain used
else:
if tempgen is not None:
if celltype_params is not None:
Expand Down Expand Up @@ -867,6 +869,8 @@ def generate_recordings(
gain = 1.0 / gain_to_int
else:
gain_to_int = 1.0 / gain
else:
gain = 1.0 # Necessary to output the correct gain used

if gain_to_int is not None:
if verbose_1:
Expand Down