mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
removed print statements from config parser, commented out ODE kerns
This commit is contained in:
parent
b984acaa80
commit
45f76cc532
2 changed files with 4 additions and 4 deletions
|
|
@ -13,8 +13,8 @@ import linear
|
||||||
import Matern32
|
import Matern32
|
||||||
import Matern52
|
import Matern52
|
||||||
import mlp
|
import mlp
|
||||||
import ODE_1
|
# import ODE_1
|
||||||
import ODE_UY
|
# import ODE_UY
|
||||||
import periodic_exponential
|
import periodic_exponential
|
||||||
import periodic_Matern32
|
import periodic_Matern32
|
||||||
import periodic_Matern52
|
import periodic_Matern52
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ config = ConfigParser.ConfigParser()
|
||||||
home = os.getenv('HOME') or os.getenv('USERPROFILE')
|
home = os.getenv('HOME') or os.getenv('USERPROFILE')
|
||||||
user_file = os.path.join(home,'.gpy_config.cfg')
|
user_file = os.path.join(home,'.gpy_config.cfg')
|
||||||
default_file = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'gpy_config.cfg'))
|
default_file = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', 'gpy_config.cfg'))
|
||||||
print user_file, os.path.isfile(user_file)
|
# print user_file, os.path.isfile(user_file)
|
||||||
print default_file, os.path.isfile(default_file)
|
# print default_file, os.path.isfile(default_file)
|
||||||
|
|
||||||
# 1. check if the user has a ~/.gpy_config.cfg
|
# 1. check if the user has a ~/.gpy_config.cfg
|
||||||
if os.path.isfile(user_file):
|
if os.path.isfile(user_file):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue