qiime2 / provenance-lib

QIIME 2 Provenance Replay Tools
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Improve replay from captured metadata files #63

Closed ChrisKeefe closed 2 years ago

ChrisKeefe commented 2 years ago

Replay using recorded metadata could go one of two ways:

  1. "Touchless" replay asks the user after parsing for appropriate data inputs, and then runs the replay with them.
  2. "Hands on" writes a script (like we do now), but incorporates the captured metadata files by dumping them, and then loading them appropriately from their dumped location on disk.

If we decide to build a "touchless" replay that uses recorded metadata, init_md_from_recorded_md needn't render anything, but needs to load properly.

If we go "hands on", we're going to need to render the Python API to insert an actual filepath, rather than producing some comment. This is probably easiest to handle with another variant driver.

ChrisKeefe commented 2 years ago

Touchless replay is still a desirable target - I've opened a separate issue for it at #98