Skip to content

Commit

Permalink
Fix regression from refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sefffal committed Apr 3, 2024
1 parent bc18ea2 commit d009b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orbitize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If not found, a list of similar target names will be reported.
"""
function Whereistheplanet_astrom(target, catalog=datadep"Whereistheplanet"; object=1)

fname = search(target)
fname = Whereistheplanet_search(target)
return h5open(fname, "r") do f
records = read(f["data"])

Expand Down Expand Up @@ -96,7 +96,7 @@ as coming from multiple chains concatenated together,
"""
function loadhdf5(fname_or_targetname, numchains=1)
if !occursin(".hdf5", fname_or_targetname)
fname = search(fname_or_targetname)
fname = Whereistheplanet_search(fname_or_targetname)
else
fname = fname_or_targetname
end
Expand Down

0 comments on commit d009b2e

Please sign in to comment.