Skip to content

Commit

Permalink
a few more opacs
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsavel committed Mar 21, 2024
1 parent 81fe4c8 commit 87d5d2d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/cortecs/tests/test_chunking.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def test_wls_of_each_created_file(self):
chunk_wavelengths(self.opacity_file, wav_per_chunk=2)

# now get the wavelengths of each file
opac_obj_ref = Opac(self.opacity_file, loader="exotransmit")
opac_obj_ref = Opac(
self.opacity_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
opac_obj0 = Opac(
self.first_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
Expand All @@ -66,7 +68,9 @@ def test_vals_of_each_created_file(self):
chunk_wavelengths(self.opacity_file, wav_per_chunk=2)

# now get the wavelengths of each file
opac_obj_ref = Opac(self.opacity_file, loader="exotransmit")
opac_obj_ref = Opac(
self.opacity_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
opac_obj0 = Opac(
self.first_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
Expand Down Expand Up @@ -100,7 +104,9 @@ def test_add_overlap_wl_increase_or_same(self):
add_overlap(self.file_base, v_max=0.0)

# now get the wavelengths of each file
opac_obj_ref = Opac(self.opacity_file, loader="exotransmit")
opac_obj_ref = Opac(
self.opacity_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
opac_obj0 = Opac(
self.first_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
Expand Down Expand Up @@ -137,7 +143,9 @@ def add_overlap_with_single_overlap_point(self):
add_overlap(self.file_base, v_max=v_max)

# now get the wavelengths of each file
opac_obj_ref = Opac(self.opacity_file, loader="exotransmit")
opac_obj_ref = Opac(
self.opacity_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
opac_obj0 = Opac(
self.first_file, loader="exotransmit", load_kwargs=self.load_kwargs
)
Expand Down

0 comments on commit 87d5d2d

Please sign in to comment.