Bug #1186
Failed to parse geometry
100%
Description
MAUS failed to parse default geometry download. I did (latest revision of trunk)
bin/utilities/download_geometry.py bin/simulate_mice.py --simulation_geometry_filename files/geometry/download/ParentGeometryFile.dat
and get an error like
Error parsing MiceModule ParentGeometryFile.dat/Q1 property FieldStrength. Error was reported as 'Failed to evaluate expression "T/M"'
This is correct, units should be T/m
(units are case sensitive).
Updated by Bayes, Ryan almost 11 years ago
Rogers, Chris wrote:
MAUS failed to parse default geometry download. I did (latest revision of trunk)
[...]
and get an error like
[...]
This is correct, units should be
T/m
(units are case sensitive).
I got this error initially as well.
I made sure that I downloaded the "current" geometry (ie in the config file ensure that you have the line "geometry_download_by = 'current'") before running the simulation using the same command line argument as above. This works to first order --- but is it right?
The current geometry has the FieldStrength listed as "T". I agree that it should be "T/m". Could this raise a backward compatibility issue (Matt?).
Updated by Rogers, Chris almost 11 years ago
Ah, my mistake. It's allowed, although a bit naughty, to do units of "T" rather than "T/m" (code interprets as "T/mm" - MAUS is not clever enough to know what units a variable is expecting and just multiplies).
Updated by Littlefield, Matthew almost 11 years ago
I'm not sure where this has come from. I think it is from the maus_information file that I have uploaded. I shall check it out :-) Should all fields be in "T/m"?
Updated by Rogers, Chris almost 11 years ago
I don't know what the typical values are in MICE. One would expect fields of order few T/m (shouldn't be more than, say, 1 T at the coil. Aperture is 0.17 m. So 5 T/m = 0.85 T at the coil.)
Updated by Littlefield, Matthew almost 11 years ago
I've found the problem, the Maus_Information.gdml file which is uploaded with the geometry has the Field Strength in T not T/m. Its not in the code so I shall upload the geometry again and back date it
Updated by Littlefield, Matthew almost 11 years ago
Just uploaded a corrected geometry. Try downloading the new version :-)
Updated by MOM, Mice Operations Manager over 10 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Updated by Rajaram, Durga about 10 years ago
- Target version changed from Future MAUS release to MAUS-v0.5.5