Skip to content

Commit

Permalink
New travis build.
Browse files Browse the repository at this point in the history
  • Loading branch information
iancze committed Feb 13, 2016
1 parent b116a5f commit ae9ea12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/visibilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ function copy_flags(source::AbstractString, dest::AbstractString)
fid_dest = h5open(dest, "r+") # append mode

@assert fid_source["uu"][:,:] == fid_dest["uu"][:,:] "UU spacings between datasets do not match, make sure you have loaded $source with flagged=true."
@assert fid_source["vv"][:,:] == fid_dest["vv"][:,:] "UU spacings between dataset do not match, make sure you have loaded $source with flagged=true.."
@assert fid_source["vv"][:,:] == fid_dest["vv"][:,:] "VV spacings between dataset do not match, make sure you have loaded $source with flagged=true."
@assert fid_source["weight"][:,:] == fid_dest["weight"][:,:] "Weights between dataset do not match, make sure you have loaded $source with flagged=true."

fid_dest["flag"] = fid_source["flag"][:,:]

Expand Down

0 comments on commit ae9ea12

Please sign in to comment.