Hi Mathias
Please send me a simplified version of your INP/data file and I will have a look.
Also, to work on only the x-ray part then remove the magnetic moment part; ie. something like the following will work:
macro X_RAY_only { 1 }
macro Mag_Stuff(text)
{
#if (X_RAY_only)
#else
text
#endif
}
str
site ...
Mag_Stuff(mlx...)
cheer
alan