Skip to content

BornAgain currently failing the ORSO validation suite

Since the last BornAgain release the ORSO validation script has started failing due to a BA API change, https://github.com/reflectivity/analysis/actions/runs/14697866408. I tried using the conversion script, but it wasn't able to successfully run:

(dev3) 192-168-1-116:scripts andrew$ python upgrade-21-to-22.py test_bornagain.py test_bornagain.py.new
/Users/andrew/Documents/Andy/programming/analysis/validation/scripts/upgrade-21-to-22.py:28: DeprecationWarning: 'count' is passed as positional argument
  t = re.sub(old, new, t, 0, re.DOTALL)
test_bornagain.py: ERROR: Not able to convert 'RoughnessModel'