Open grandrew opened 3 years ago
TODO:
runpy.py
Currently universal run function asks for "directory" arguments:
open_test_solve_save_run(input_xlsx, input_py, output_dir_classes, output_dir_plan, output_dir_solution, project_name="etable_project", py_plan_prefix='DATA.', has_header=True)
and is run with "directories":
hyper_etable.run_util.open_test_solve_save_run( input_xlsx=[xlsx_file], input_py=['./tests/header_select/a.py'], output_dir_classes=out_dir, output_dir_plan=out_dir, output_dir_solution=out_dir, project_name=project_name, has_header=True)
Need to rewrite function interface to work with files: (see file names below) (also see exact name of function and parameters)
def run( input_xlsx_filename: str input_py_filename: str output_classes_filename: str output_plan_filename: str output_xlsx_filename: str )
examples below:
full path xlsx "/home/usersxles.xls"
full path model python "/different.py"
specified full path "/tmpdiffernt/classessomethg.py"
specified location /myout/path/outputname.xlsx
so parameters should be:
TODO:
runpy.py
filerunpy.py
worksCurrently universal run function asks for "directory" arguments:
open_test_solve_save_run(input_xlsx, input_py, output_dir_classes, output_dir_plan, output_dir_solution, project_name="etable_project", py_plan_prefix='DATA.', has_header=True)
and is run with "directories":
Need to rewrite function interface to work with files: (see file names below) (also see exact name of function and parameters)
examples below:
full path xlsx "/home/usersxles.xls"
andfull path model python "/different.py"
files from pathspecified full path "/tmpdiffernt/classessomethg.py"
)- load input XLSX again with dumped plan (without compiling python files)specified location /myout/path/outputname.xlsx
so parameters should be: