Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xppy/parser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from parse import *
from run import *
from xppy.parser.parse import *
from xppy.parser.run import *

#__all__ = ['ode', 'set', 'run']
4 changes: 2 additions & 2 deletions xppy/parser/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def change_ode(ode_file=tmp_ode, new_pars=[]):
Function changes the parameters and initial conditions specified in
new_pars in given ode_file.
'''
print 'Warning! Function is obsolete, use changeOde instead!'
print('Warning! Function is obsolete, use changeOde instead!')
changeOde(new_pars, ode_file)

def changeOde(new_pars, ode_file=tmp_ode):
Expand Down Expand Up @@ -177,7 +177,7 @@ def change_set(set_file, new_pars):
Function changes the parameters and initial conditions specified in
new_pars in given ode_file.
'''
print 'Warning! Function is obsolete, use changeSet instead!'
print('Warning! Function is obsolete, use changeSet instead!')
changeSet(new_pars, set_file)

def changeSet(new_pars, set_file=tmp_set):
Expand Down
4 changes: 2 additions & 2 deletions xppy/parser/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
def set_cmd(xpp_path):
global c_g
c_g = os.path.join(xpp_path, c_g)
print "XPP Path set: %s" % (c_g,)
print("XPP Path set: %s" % (c_g,))
return c_g

def run(ode_file=tmp_ode, set_file=tmp_set, verbose=False):
Expand Down Expand Up @@ -94,7 +94,7 @@ def createTmp(ode_file=None, set_file=None):
if set_file != None:
shutil.copy(set_file, tmp_set)
if ode_file == None and set_file == None:
print 'Warning! No files where created, both ode and set arguments are None.'
print('Warning! No files where created, both ode and set arguments are None.')

def deleteTmp(del_ode=True, del_set=True):
'''
Expand Down