Skip to content

Epic 5: Change post-processing to Python + numpy code #61

@jonc125

Description

@jonc125
  • Rather than using our post-processing DSL, allow protocol authors to use plain Python code plus numpy operations on the n-d arrays, thereby avoiding all interpretative overhead and allowing more flexible analysis, control flow, error handling, etc.
  • Initially we'll only have trusted users; later we'll need to consider further security
    • Restricting what code is allowed; if just core python (no stdlib) plus numpy operations we might be OK
    • Isolate execution runs using e.g. Docker
  • Possibly consider an editor GUI for protocols - at least syntax highlighting - if easy to do!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions