Skip to content

Commit bb4a2c2

Browse files
committed
compares with file_type rather than polarization state
1 parent f07d822 commit bb4a2c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

punchbowl/auto/flows/level1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def get_quartic_model_paths(level0_files, pipeline_config: dict, session=None):
414414

415415
def get_quartic_model_path(level0_file, pipeline_config: dict, session=None, reference_time=None):
416416
best_model = (session.query(File)
417-
.filter(File.file_type == f"F{level0_file.polarization}")
417+
.filter(File.file_type == level0_file.file_type[1])
418418
.filter(File.observatory == level0_file.observatory)
419419
.where(File.date_obs <= level0_file.date_obs)
420420
.where(File.file_version.not_like("v%")) #filters out "v0a".

0 commit comments

Comments
 (0)