Skip to content

Commit

Permalink
path corrected for test file
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi0395 committed Jul 27, 2024
1 parent fe8a5be commit 8932818
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_convolution.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import unittest
import os
import numpy as np
from qsoabsfind.absfinder import convolution_method_absorber_finder_in_QSO_spectra
from qsoabsfind.parallel_convolution import parallel_convolution_method_absorber_finder_QSO_spectra
Expand All @@ -7,7 +8,9 @@ class TestQSOAbsFind(unittest.TestCase):

def test_convolution_method_absorber_finder_in_QSO_spectra(self):
# Set up the input parameters for the function
fits_file = './qso_test.fits'
fits_file = os.path.join(os.path.dirname(__file__), 'qso_test.fits')
# Check if the file exists
assert os.path.exists(file_path), f"File {fits_file} does not exist"
spec_index = 0
absorber = 'MgII'
ker_width_pix = [3, 4, 5, 6, 7, 8]
Expand Down

0 comments on commit 8932818

Please sign in to comment.