diff --git a/Scripts/__pycache__/generate_signals.cpython-38.pyc b/Scripts/__pycache__/generate_signals.cpython-38.pyc index 2778bac23..8db514fbf 100644 Binary files a/Scripts/__pycache__/generate_signals.cpython-38.pyc and b/Scripts/__pycache__/generate_signals.cpython-38.pyc differ diff --git a/Scripts/__pycache__/preprocess_daily.cpython-38.pyc b/Scripts/__pycache__/preprocess_daily.cpython-38.pyc index e3592b3bb..ecb88ffa5 100644 Binary files a/Scripts/__pycache__/preprocess_daily.cpython-38.pyc and b/Scripts/__pycache__/preprocess_daily.cpython-38.pyc differ diff --git a/Scripts/generate_signals.py b/Scripts/generate_signals.py index d19213688..4c17120dd 100644 --- a/Scripts/generate_signals.py +++ b/Scripts/generate_signals.py @@ -13,7 +13,7 @@ class SignalGenerator(): def __init__(self, config='config_draft.json'): # 루트폴더 지정 self.path_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - with open(os.path.join(self.path_root, 'Scripts', config), 'r') as config_file: + with open(os.path.join(self.path_root, config), 'r') as config_file: config = json.load(config_file) # 주요 폴더 경로 지정 self.paths = config['paths'] diff --git a/Scripts/preprocess_daily.py b/Scripts/preprocess_daily.py index b249434ac..13581fd4e 100644 --- a/Scripts/preprocess_daily.py +++ b/Scripts/preprocess_daily.py @@ -10,7 +10,7 @@ class DailyPreprocessor(): def __init__(self, config='config_draft.json'): # 루트폴더 지정 self.path_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - with open(os.path.join(self.path_root, 'Scripts', config), 'r') as config_file: + with open(os.path.join(self.path_root, config), 'r') as config_file: config = json.load(config_file) # 주요 폴더 경로 지정 diff --git a/config_draft.json b/config_draft.json new file mode 100644 index 000000000..d4dacf33f --- /dev/null +++ b/config_draft.json @@ -0,0 +1,13 @@ +{"connection_info": + {"DSNNAME": "Tibero6", + "DBUSER": "snits", + "DBPWD": "snits" } + , + "paths": + {"data":["draft", "Data"], + "intermediates":["draft", "Intermediates"], + "results":["draft", "Results"], + "tables":["draft", "Data","tables"], + "networks":["draft", "Data","networks"], + "scripts": ["draft", "Scripts"]} +} \ No newline at end of file diff --git a/credentials.json b/credentials.json new file mode 100644 index 000000000..c4b8d9a5f --- /dev/null +++ b/credentials.json @@ -0,0 +1,5 @@ +{ + "DSNNAME": "Tibero6", + "DBUSER": "snits", + "DBPWD": "snits" +} diff --git a/draft/Results/sn_1704418800.add.xml b/draft/Results/sn_1704418800.add.xml new file mode 100644 index 000000000..e8ecdbfd0 --- /dev/null +++ b/draft/Results/sn_1704418800.add.xml @@ -0,0 +1,604 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file