Skip to content

Commit

Permalink
bugfix: Manager.write_to_dataset was writing observed data in place o…
Browse files Browse the repository at this point in the history
…f synthetic data, causing only observed data to be written
  • Loading branch information
bch0w committed Sep 8, 2023
1 parent 254918c commit 7bbf768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyatoa/core/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def write_to_dataset(self, ds=None, choice=None):
with warnings.catch_warnings():
warnings.filterwarnings("error")
try:
ds.add_waveforms(waveform=self.st_obs,
ds.add_waveforms(waveform=self.st_syn,
tag=self.config.synthetic_tag)
except ASDFWarning:
logger.debug(f"{self.config.synthetic_tag} waveform "
Expand Down

0 comments on commit 7bbf768

Please sign in to comment.