Skip to content

Order of processing of PEP #10

@nsheff

Description

@nsheff

When a PEP is put in the database, when is it processed? I can see two possibilities:

  1. A PEP is loaded, processed, and the processed PEP is put into the database.
  2. A PEP is loaded but not processed, the unprocessed PEP is put into the database.

The advantage of 1 is that the processing only happens once, so it reduces compute time. With 2, you'd have to reprocess it every time the PEP is requested.

However, if we want to allow the user to tweak the rendering of the PEP, for example, by changing env vars (pepkit/pephub#3), this will only be possible with option 2.

Hybrid?

Is it possible to split the idea of "processing" into two stages: 1. the sample_modifiers and project_modifiers are done before entry into the database, and then 2. path expansion is done on-the-fly ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions