amschaal / SIMS

SIMS (Sequencing Information Management System), Successor to SLIMS, in search of a better name...
0 stars 0 forks source link

Move mapping out of SubmissionType to own model #19

Open amschaal opened 3 months ago

amschaal commented 3 months ago

Move the mapping data out of the SubmissionType model to its own model. It ought to be possible to have multiple transformations/mappings from a single submission type. When importing a submission, the user can then choose which transformation to use. There could perhaps be a default.

amschaal commented 3 months ago

Change "SubmissionTypeMapper" to "SubmissionTypeImporter", with the "mapper" property changed to "config".

Add an import type which is a registerable import class which takes the source submission type, target project type, and config to create projects, pools, samples, etc. For now there will be only 1 importer type, but it would be good to leave this pluggable for other implementations.