oasys-kit / shadow3

Official repository for shadow3 (x-ray-tracer engine)
MIT License
31 stars 19 forks source link

Syntax error in ShadowLibExtensions.py #64

Closed lucarebuffi closed 7 months ago

lucarebuffi commented 1 year ago

Line 1561:

                txt += 'Johansson radius                         %f %s\n'(self.R_JOHANSSON,self.unit())

a percentage symbol is missing, modify in:

                txt += 'Johansson radius                         %f %s\n'%(self.R_JOHANSSON,self.unit())
srio commented 1 year ago

This is fixed. Thanks! I recreated all wheels for shadow3 version 23.9.19 I realigned ShadowOUI with this new shadow3. In addition, it contains other fixes done in 2023 on Johansson crystals that were not updated in ShadowOUI.

I tested in linux+windows. Hopefully, mac is also OK. Let me know if there are problems (I do not think so).