Skip to content

Commit

Permalink
beat.summarize: remove stray prints
Browse files Browse the repository at this point in the history
  • Loading branch information
hvasbath committed Dec 15, 2023
1 parent 7adc46e commit 3f59b4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions beat/apps/beat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,6 @@ def setup(parser):
for chain in tqdm(chains):
for idx in idxs:
point = stage.mtrace.point(idx=idx, chain=chain)
print("from trace", point)
reference.update(point)
# normalize MT source, TODO put into get_derived_params
if isinstance(source, MTSourceWithMagnitude):
Expand Down Expand Up @@ -1287,7 +1286,6 @@ def setup(parser):
)

# TODO: in PT with large buffer sizes somehow memory leak
print("after lijection", lpoint)
rtrace.write(lpoint, draw=chain)
del lpoint, point

Expand Down Expand Up @@ -1321,7 +1319,7 @@ def setup(parser):

idata = multitrace_to_inference_data(rtrace)
df = summary(idata, round_to=4, skipna=True)
print(df)
logger.info(df.__str__())
with open(summary_file, "w") as outfile:
df.to_string(outfile)
else:
Expand Down

0 comments on commit 3f59b4a

Please sign in to comment.