Skip to content
Snippets Groups Projects
Commit 0c9dd2fe authored by Christoph.Knote's avatar Christoph.Knote
Browse files

Updates to 1.7

parent 289b23d5
Branches
Tags
No related merge requests found
...@@ -38,7 +38,11 @@ examples = { x: ExampleData(os.path.join(examplesPath, x)) for x in os.listdir(e ...@@ -38,7 +38,11 @@ examples = { x: ExampleData(os.path.join(examplesPath, x)) for x in os.listdir(e
compiledMechsPath=os.path.join(os.environ['KPP_HOME'], "boxmox", "compiled_mechs") compiledMechsPath=os.path.join(os.environ['KPP_HOME'], "boxmox", "compiled_mechs")
compiledMechs = [ x for x in os.listdir(compiledMechsPath) if (os.path.isdir( os.path.join(compiledMechsPath, x) )) and ("_adjoint" not in x) ] compiledMechs = []
try:
compiledMechs = [ x for x in os.listdir(compiledMechsPath) if (os.path.isdir( os.path.join(compiledMechsPath, x) )) and ("_adjoint" not in x) ]
except:
print("No compile_mechs directory found")
class Namelist: class Namelist:
''' '''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment