Skip to content
Snippets Groups Projects
Commit 480cff76 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Removed unnecessary dots and made the default bin_dir the current directory

parent 9a4c04e6
No related branches found
No related tags found
1 merge request!1480Ingest obs run on lustre
Pipeline #12295 passed
...@@ -181,7 +181,7 @@ class ObservationCollector(CollectorIF): ...@@ -181,7 +181,7 @@ class ObservationCollector(CollectorIF):
# run script # run script
collector = subprocess.run( collector = subprocess.run(
[f".{sbin_dir}/observation-product-collector.sh", source_path, workflow_dir, staging_dir], [f"{sbin_dir}/observation-product-collector.sh", source_path, workflow_dir, staging_dir],
stdout=sys.stdout, stdout=sys.stdout,
stderr=sys.stderr, stderr=sys.stderr,
) )
......
...@@ -33,7 +33,7 @@ from ingest_envoy.schema import AbstractTextFile ...@@ -33,7 +33,7 @@ from ingest_envoy.schema import AbstractTextFile
from ingest_envoy.utilities import IngestType, VLASSIngestType from ingest_envoy.utilities import IngestType, VLASSIngestType
def trigger_ingest(real_ingest: bool, staging_dir: str, bin_dir: str = "") -> int: def trigger_ingest(real_ingest: bool, staging_dir: str, bin_dir: str = ".") -> int:
""" """
Run ingest Run ingest
...@@ -45,7 +45,7 @@ def trigger_ingest(real_ingest: bool, staging_dir: str, bin_dir: str = "") -> in ...@@ -45,7 +45,7 @@ def trigger_ingest(real_ingest: bool, staging_dir: str, bin_dir: str = "") -> in
if real_ingest: if real_ingest:
# TODO: This should be cleaned up when cal and image ingests don't transfer files into condor and use sbin # TODO: This should be cleaned up when cal and image ingests don't transfer files into condor and use sbin
ingest_process = subprocess.run( ingest_process = subprocess.run(
[f".{bin_dir}/ingest", "--json", "-p", staging_dir], [f"{bin_dir}/ingest", "--json", "-p", staging_dir],
stdout=sys.stdout, stdout=sys.stdout,
stderr=sys.stderr, stderr=sys.stderr,
) )
......
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