Skip to content
Snippets Groups Projects
Commit 51f34405 authored by chaskar2's avatar chaskar2
Browse files

removed castor recon

parent 021296d7
No related branches found
No related tags found
No related merge requests found
......@@ -294,19 +294,19 @@ def imageflow_dag(**dag_input):
castor_image_reconstruction_task = KubernetesPodOperator(
namespace="airflow",
image="saumitra9946/castor-v3.1.1:2",
name="castor_image_reconstruction_task",
task_id="castor_image_reconstruction_task",
is_delete_operator_pod=True,
volumes=[gate_volume, castor_volume, gate_output_pipeline_volume],
volume_mounts=[gate_volume_mount, castor_volume_mount, gate_output_pipeline_volume_mount],
cmds=[f"{Variable.get('base_output_path')}/castor_reconstruction.sh"],
arguments=[f"{Variable.get('base_output_path')}"],
security_context = {"runAsNonRoot": False},
get_logs=True,
)
# castor_image_reconstruction_task = KubernetesPodOperator(
# namespace="airflow",
# image="saumitra9946/castor-v3.1.1:2",
# name="castor_image_reconstruction_task",
# task_id="castor_image_reconstruction_task",
# is_delete_operator_pod=True,
# volumes=[gate_volume, castor_volume, gate_output_pipeline_volume],
# volume_mounts=[gate_volume_mount, castor_volume_mount, gate_output_pipeline_volume_mount],
# cmds=[f"{Variable.get('base_output_path')}/castor_reconstruction.sh"],
# arguments=[f"{Variable.get('base_output_path')}"],
# security_context = {"runAsNonRoot": False},
# get_logs=True,
# )
def get_image_statistics(image_3d):
......
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