restructure project
This commit is contained in:
21
prototypes/test.py
Normal file
21
prototypes/test.py
Normal file
@@ -0,0 +1,21 @@
|
||||
import os
|
||||
|
||||
os.environ['LANG_MAIN_STOP_SEARCH_FOLDERNAME'] = 'python'
|
||||
os.environ['LANG_MAIN_BASE_FOLDERNAME'] = 'bin'
|
||||
|
||||
from tom_plugin import pipeline
|
||||
|
||||
|
||||
def run_pipe() -> None:
|
||||
# lang-data\in\Dummy_Dataset_N_1000.csv
|
||||
# relative_path = r'.\lang-data\in\Dummy_Dataset_N_1000.csv'
|
||||
# absolute_path = r'A:\Arbeitsaufgaben\lang-data\in\Dummy_Dataset_N_1000.csv'
|
||||
filename: str = 'Dummy_Dataset_N_1000.csv'
|
||||
|
||||
# pipeline.run_on_csv_data(id='123', filename=relative_path)
|
||||
# pipeline.run_on_csv_data(id='124', filename=absolute_path)
|
||||
pipeline.run_on_csv_data(id='1234', filename=filename)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run_pipe()
|
||||
Reference in New Issue
Block a user