Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jecos committed Mar 8, 2024
1 parent 994efc1 commit ad32e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 6 additions & 1 deletion dags/etl_variants_prepared.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
from airflow import DAG
from airflow.models.param import Param
from datetime import datetime
from lib.config import etl_variant_prepared_config
from lib.config import etl_variant_config, default_config_file
from lib.operators.spark import SparkOperator

etl_variant_prepared_config = etl_variant_config \
.with_spark_class('bio.ferlab.etl.prepared.RunPrepared') \
.args('--config', default_config_file,
'--steps', 'default'
)
with DAG(
dag_id='etl_variant_prepared',
start_date=datetime(2022, 1, 1),
Expand Down
5 changes: 0 additions & 5 deletions dags/lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ class Env:
.add_spark_conf(spark_large_conf) \
.with_spark_jar(variant_jar)

etl_variant_prepared_config = etl_variant_config \
.with_spark_class('bio.ferlab.etl.prepared.RunPrepared') \
.args('--config', default_config_file,
'--steps', 'default'
)
etl_variant_normalized_config = etl_variant_config \
.with_spark_class('bio.ferlab.etl.normalized.RunNormalizedGenomic')

Expand Down

0 comments on commit ad32e1d

Please sign in to comment.