Open amschaal opened 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.
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.