Closed laurencejackson closed 2 years ago
I've created a class for the spatial_resolution task a demonstration of how i think this can work, opening aPR now so I can get some feedback on it.
I'm sure there are more generic methods that can be added to the Task class, the functions defined in hazenlib.__init__ are good candidates.
Task
hazenlib.__init__
Tested the CLI locally and it works as expected.
If people are happy with this I'll go ahead and classify the other tasks and update their tests.
This refactoring will happen in the hazenlib repo – this is just an example of creating new classes.
hazenlib
@laurencejackson will take care of this.
I've created a class for the spatial_resolution task a demonstration of how i think this can work, opening aPR now so I can get some feedback on it.
I'm sure there are more generic methods that can be added to the
Task
class, the functions defined inhazenlib.__init__
are good candidates.Tested the CLI locally and it works as expected.
If people are happy with this I'll go ahead and classify the other tasks and update their tests.