Commit 08d3985a authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add upload_plan.py

parent 70fc5c2f
from csst_dag import DFS
from csst_dfs_client import plan
import argparse
import sys
import os
plan_path = sys.argv[1]
assert os.path.exists(plan_path), f"Plan file {plan_path} does not exist"
res = plan.write_file(local_file="plan.json")
print(res)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment