calming python linter
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
|
import os
|
||||||
|
import sys
|
||||||
from logging import exception
|
from logging import exception
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
#importing pressure conversion function
|
#importing pressure conversion function
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
current = os.path.dirname(os.path.realpath(__file__))
|
current = os.path.dirname(os.path.realpath(__file__))
|
||||||
parent = os.path.dirname(current)
|
parent = os.path.dirname(current)
|
||||||
sys.path.append(parent)
|
sys.path.append(parent)
|
||||||
from functions.pressure_conversion import pressure_conversion
|
from functions.pressure_conversion import pressure_conversion
|
||||||
|
|
||||||
|
|
||||||
def FODE_function(x_out,h,A,A_a,p,rho,g):
|
def FODE_function(x_out,h,A,A_a,p,rho,g):
|
||||||
# (FODE ... first order differential equation)
|
# (FODE ... first order differential equation)
|
||||||
# based on the outflux formula by Andreas Malcherek
|
# based on the outflux formula by Andreas Malcherek
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
#importing pressure conversion function
|
#importing pressure conversion function
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
current = os.path.dirname(os.path.realpath(__file__))
|
current = os.path.dirname(os.path.realpath(__file__))
|
||||||
parent = os.path.dirname(current)
|
parent = os.path.dirname(current)
|
||||||
sys.path.append(parent)
|
sys.path.append(parent)
|
||||||
from functions.pressure_conversion import pressure_conversion
|
from functions.pressure_conversion import pressure_conversion
|
||||||
|
|
||||||
|
|
||||||
class Druckrohrleitung_class:
|
class Druckrohrleitung_class:
|
||||||
# units
|
# units
|
||||||
# make sure that units and display units are the same
|
# make sure that units and display units are the same
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
from pyparsing import alphanums
|
||||||
|
|
||||||
#importing pressure conversion function
|
#importing pressure conversion function
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
|
|
||||||
from pyparsing import alphanums
|
|
||||||
current = os.path.dirname(os.path.realpath(__file__))
|
current = os.path.dirname(os.path.realpath(__file__))
|
||||||
parent = os.path.dirname(current)
|
parent = os.path.dirname(current)
|
||||||
sys.path.append(parent)
|
sys.path.append(parent)
|
||||||
from functions.pressure_conversion import pressure_conversion
|
from functions.pressure_conversion import pressure_conversion
|
||||||
|
|
||||||
|
|
||||||
class Francis_Turbine:
|
class Francis_Turbine:
|
||||||
# units
|
# units
|
||||||
# make sure that units and display units are the same
|
# make sure that units and display units are the same
|
||||||
|
|||||||
Reference in New Issue
Block a user