When using custom functions for mutation, initialisation, etc. that are stored in a separate directory, PonyGE2 fails to load them from a saved state.
For example, the state saved by the following call can't be loaded because the mutation function custom.mutation.custom_mutation_per_ind is stored in the state as just "custom_mutation_per_ind", ignoring the rest of the path.
When using custom functions for mutation, initialisation, etc. that are stored in a separate directory, PonyGE2 fails to load them from a saved state.
For example, the state saved by the following call can't be loaded because the mutation function
custom.mutation.custom_mutation_per_ind
is stored in the state as just "custom_mutation_per_ind", ignoring the rest of the path.My fix for this is below: