Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orchestrator: convert to class implementation (issue 167) #333

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scubagoggles/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"""

import argparse
from scubagoggles.orchestrator import gws_products, start_automation
from scubagoggles.orchestrator import Orchestrator

def get_gws_args(parser):
"""
Adds the arguments for the GWS parser

:param parser: argparse object
"""
gws = gws_products()
gws = Orchestrator.gws_products()
gws_baselines = gws["gws_baselines"]

default_file_output_names = {
Expand Down Expand Up @@ -140,6 +140,6 @@ def dive():
args = parser.parse_args()

if args.scuba_cmd == 'gws':
start_automation(args)
Orchestrator(args).start_automation()
else:
raise Exception("Invalid subparser. Run scubagoggles -h to see a list of valid subparsers")
Loading
Loading