修改python模块引用方式
这个提交包含在:
@@ -2,6 +2,8 @@
|
||||
import warnings
|
||||
warnings.filterwarnings('ignore')
|
||||
import argparse, json
|
||||
import os, sys
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))+'/pyat')
|
||||
|
||||
def _argparse():
|
||||
parser = argparse.ArgumentParser(description='Wind Generated Noise Prediction')
|
||||
@@ -32,8 +34,7 @@ def main():
|
||||
png = paramData["png"]
|
||||
outParam = paramData["outParam"]
|
||||
|
||||
from pyat.WGNPd import WGNPd
|
||||
from pyat.DataBase import DataBase
|
||||
from WGNPd import WGNPd
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户