"app/inspect.py" did not exist on "499ab97caccbc951864f18f2460d3f1b597916c1"
upload_plan.py 234 Bytes
Newer Older
BO ZHANG's avatar
BO ZHANG committed
1
2
3
4
5
6
7
8
9
10
from csst_dag import DFS
from csst_dfs_client import plan
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_path)
print(res)