Skip to content

implement Sofomore.active(kernel) method #4

@nikohansen

Description

@nikohansen

The Sofomore.activate method should be implemented, in order to be able to refine a kernel.

  • we probably want to call, maybe optionally, kernel._stopdict.clear() during activation
  • @cheikhToure I don't understand the tentative code (see above link)
         new_list = [callback for callback in self.kernels[ikernel].opts['termination_callback']\
                 if callback(kernel) == 'kernel turned off']
         kernel.opts['termination_callback'] = new_list
    Was the == mean to read != such that the turned off termination is removed?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions