Skip to content

Commit

Permalink
Fixed mkdir for BAGELS_1
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsignorelli committed Dec 4, 2023
1 parent de9c06f commit 809dbda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tao.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function BAGELS_1(lat, phi_start, phi_step, sgn, kick=1e-5, tol=1e-8)
coils = readdlm("$(path)/bumps$(str_phi).txt", ',')
coil_pairs = coils[:,1:2]
strengths = coils[:,3:4]
if isdir("$(path)/responses_$(str_kick)")
if !isdir("$(path)/responses_$(str_kick)")
mkdir("$(path)/responses_$(str_kick)")
end
# All of these bumps are separate group knobs, the individual coils have opposite strengths
Expand Down

0 comments on commit 809dbda

Please sign in to comment.