Skip to content

Commit

Permalink
file name
Browse files Browse the repository at this point in the history
  • Loading branch information
palumbom committed Nov 5, 2024
1 parent f6b06d0 commit 54b8446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/preprocessing/spectraIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ function sort_spectrum_data(;dir::String="", write::Bool=false)
@assert isdir(dir);

if isdir(dir * "spectra/")
files = glob("*.chvtt.fits", dir * "spectra/")
files = glob("*.fits", dir * "spectra/")
else
files = glob("*.chvtt.fits", dir)
files = glob("*.fits", dir)
end
@assert !isempty(files)

Expand Down

0 comments on commit 54b8446

Please sign in to comment.