Commit 0c4d5d12 authored by lcn's avatar lcn

修改配置地址

parent b33df48a
import sys import sys
sys.path.append(f'/home/ubuntu/data/code/unify_api_1.5/pot_libs') sys.path.append(f'/home/ubuntu/data/code/unify_api2/pot_libs')
sys.path.append(f'/home/ubuntu/data/code/unify_api_1.5') sys.path.append(f'/home/ubuntu/data/code/unify_api2')
\ No newline at end of file \ No newline at end of file
# /usr/bin/env python # /usr/bin/env python
# -*- coding: UTF-8 -*-l # -*- coding: UTF-8 -*-l
import sys import sys
sys.path.append(f'/home/ubuntu/data/code/unify_api_1.5/unify_api/modules/' sys.path.append(f'/home/ubuntu/data/code/unify_api2/unify_api/modules/'
f'zhiwei_u/fault_foreast') f'zhiwei_u/fault_foreast')
from filterSteadyData import filterSteadyData, testFeat from filterSteadyData import filterSteadyData, testFeat
from knnForecast import classify from knnForecast import classify
......
...@@ -114,7 +114,7 @@ if __name__ == '__main__': ...@@ -114,7 +114,7 @@ if __name__ == '__main__':
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
# import matplotlib;matplotlib.use("TkAgg") # import matplotlib;matplotlib.use("TkAgg")
os.chdir(os.path.split(__file__)[0]) os.chdir(os.path.split(__file__)[0])
filename1 = r'/home/ubuntu/data/code/unify_api_1.5/unify_api/modules/zhiwei_u/fault_foreast' filename1 = r'/home/ubuntu/data/code/unify_api2/unify_api/modules/zhiwei_u/fault_foreast'
# sid = "A1911000284" # sid = "A1911000284"
# files=os.listdir(filename1) # files=os.listdir(filename1)
# for file in files: # for file in files:
......
...@@ -5,8 +5,8 @@ import pendulum ...@@ -5,8 +5,8 @@ import pendulum
import asyncio import asyncio
import aioschedule as schedule import aioschedule as schedule
sys.path.append("/home/ubuntu/data/code/unify_api_1.5/pot_libs") sys.path.append("/home/ubuntu/data/code/unify_api2/pot_libs")
sys.path.append("/home/ubuntu/data/code/unify_api_1.5") sys.path.append("/home/ubuntu/data/code/unify_api2")
from pot_libs.logger import log from pot_libs.logger import log
from pot_libs.aiokafka_util.kafka_util import KafkaUtils from pot_libs.aiokafka_util.kafka_util import KafkaUtils
from unify_api.modules.zhiwei_u.dao.install_sheet_dao import \ from unify_api.modules.zhiwei_u.dao.install_sheet_dao import \
......
import sys import sys
import json import json
import pytest import pytest
sys.path.append(f'/home/ubuntu/data/code/unify_api_1.5/pot_libs') sys.path.append(f'/home/ubuntu/data/code/unify_api2/pot_libs')
sys.path.append(f'/home/ubuntu/data/code/unify_api_1.5') sys.path.append(f'/home/ubuntu/data/code/unify_api2')
from unify_api.tests.constants_t import TOKEN, HTTP_PREFIX from unify_api.tests.constants_t import TOKEN, HTTP_PREFIX
from pot_libs.aiohttp_util.aiohttp_utils import AioHttpUtils from pot_libs.aiohttp_util.aiohttp_utils import AioHttpUtils
......
...@@ -8,8 +8,8 @@ import pendulum ...@@ -8,8 +8,8 @@ import pendulum
import logging import logging
import sys import sys
sys.path.append("/home/ubuntu/data/code/unify_api_1.5/pot_libs") sys.path.append("/home/ubuntu/data/code/unify_api2/pot_libs")
sys.path.append("/home/ubuntu/data/code/unify_api_1.5") sys.path.append("/home/ubuntu/data/code/unify_api2")
from pot_libs.aiomqtt_util.hbmqtt_utils import MqttUtil from pot_libs.aiomqtt_util.hbmqtt_utils import MqttUtil
logging.basicConfig( logging.basicConfig(
level=logging.INFO, level=logging.INFO,
......
Markdown is supported
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