Skip to content

Commit

Permalink
small bug fix batch_local_velocity, removed extra line in single_select
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Sabrina committed May 27, 2022
1 parent 6f9f98d commit fc405a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion min_analysis_scripts/batch_local_velocity.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
with open(csv_file, "a") as csv_f: # will append to existing
# create the csv writer
writer = csv.writer(csv_f, delimiter="\t")
writer.writerow(header)
for n in range(velocities.size):
writer.writerow(
[
stackname,
velocities[n] * factor,
forward_wavevector_x[n],
forward_wavevector_y[n],
Expand Down
1 change: 0 additions & 1 deletion min_analysis_scripts/single_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ class Action(IntEnum):

savename = outpath / f"{stackname}_velocity_wheel.png"
fig.set_size_inches(fig_size)
ax_sum.set_ylim((0, 1000))
fig.tight_layout()
fig.savefig(savename, dpi=500)
plt.close(fig)
Expand Down

0 comments on commit fc405a2

Please sign in to comment.