Commit 0c4d5d12 authored by lcn's avatar lcn

修改配置地址

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