Skip to content

Encapsulated some internal lists / dicts

Marcus Oskarsson requested to merge github/fork/rhfogh/master into master

Created by: rhfogh

Changed cases where a get function returned internal lists or dicts to return a copy.

NB1 This is not tested - I do not have a test set-up for master

NB2 Two clear cases were left alone as being too complicated for em to deal with: BeamInfo.get_beam_info and predefinedPositionsNamesList

Also changed some out-of-place tab indentations to spaces and some CR-LF to CR

Looks like I combined two commits into this one (sooy). The other one is:

I kept coming across files where the indentation had an inconsistent mix of tabs and spaces. The present pull request replaces all tabs globally with 8*' ' (eight spaces).

NB The changes are eyeballed but NOT tested (I do not have a test set-up for master).

Merge request reports