Skip to content

fix project reading error introduced with global renaming of "OffSpecInstrument"

m.puchner requested to merge fix-offspecinstrument-rename into develop

fix project reading error introduced with global renaming "OffSpecInstrument" -> "OffSpecularInstrument"

This error was introduced with global renaming in commit 01b4e31e (2020-12-09)

This error shows nicely that we really should get rid of strings for denoting objects/properties etc. - the earlier, the better.

Using strings for this purpose is like using void* for objects... you have to guess what you expect, and the compiler does not help you in any way.

Reading a project showed this error:

image

Edited by m.puchner

Merge request reports