tapas icon indicating copy to clipboard operation
tapas copied to clipboard

Rationalise location of functions which manage "types" of data.

Open triangle-man opened this issue 2 years ago • 1 comments

Specifically, much of the functionality in utils/data.py might better live in the DataDescription class.

triangle-man avatar Apr 25 '22 13:04 triangle-man

As discussed, our general rule for going forward should be: if the functionality of a function is specific to a class, it should be a method on the class, but if it is more general it should live in utils. If unsure, I would suggest it gets placed in utils, to reduce the chance of it being overlooked when trying to identify whether or not we already have some piece of functionality.

JamesJordon avatar Apr 26 '22 09:04 JamesJordon