Skip to content
Snippets Groups Projects
Commit cac45a45 authored by Alexandre Goettel's avatar Alexandre Goettel
Browse files

Adjust style to conform with pre-commit

parent 5e126071
No related branches found
No related tags found
1 merge request!471Replace "DMT-SCIENCE" flag with appropriate "ITF_SCIENCE" for V1
......@@ -819,7 +819,11 @@ class DataGenerationInput(Input):
"""
# Create data quality flag
channel_num = 1
quality_flag = f"{det}:ITF_SCIENCE:{channel_num}" if det == "V1" else f"{det}:DMT-SCIENCE:{channel_num}"
quality_flag = (
391+ f"{det}:ITF_SCIENCE:{channel_num}"
392+ if det == "V1"
393+ else f"{det}:DMT-SCIENCE:{channel_num}"
394+ )
logger.info(f"Checking data quality {quality_flag} {start_time}-{end_time}")
try:
flag = gwpy.segments.DataQualityFlag.query(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment