geometryFile path not followed correctly

Issue #34 resolved
Laurie Nevay created an issue

When you use the generic 'element' in gmad, you can specify a geometry file to use. This should follow the syntax:

name: element, geometryFile="TYPE:path/tofile.ext";

in the last year, the parser was updated to follow paths to geometry no matter where bdsim was executed and where the main gmad file is. This needs to be fixed for this geometryFile option too.

Steps to reproduce:

run examples/features/Mokka/2mradIR/ .gmad file in here (edit distribution to be reference)

Get error:

BDSMySQLWrapper constructor: Unable to load SQL file: /Users/nevay/physics/reps/bdsim-develop-build/examples/features/Mokka/2mradIR//examples/Mokka/2mradIR/itube-stahl.sql

Comments (4)

  1. Log in to comment