IPK-BIT / miappe-wizard

Biologist-friendly application for creating MIAPPE-compliant metadata
https://ipk-bit.github.io/miappe-wizard/
MIT License
3 stars 0 forks source link

Allow prefilling with comments on investigation and study level via config #17

Closed patrick-koenig closed 7 months ago

patrick-koenig commented 7 months ago

Two examples, one for investigation and one for study level:

    prefill: [
        {
            type: 'comment',
            isaMapping: {
                entity: 'investigation',
                attribute: 'comments'
            },
            values: {
                name: 'Study Country',
                value: 'Germany'
            }
        },
        {
            type: 'comment',
            isaMapping: {
                entity: 'study',
                attribute: 'comments',
                studyIndex: 0
            },
            values: {
                name: 'Study Country',
                value: 'Germany'
            }
        }
    ],