Skip to content

Commit

Permalink
Merge pull request #27 from nfdi4health/merge-seek-main
Browse files Browse the repository at this point in the history
Merge seed actualising
  • Loading branch information
ReneHaensel authored Jan 24, 2024
2 parents 3352bf4 + 711b6e7 commit f580457
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 71 deletions.
2 changes: 1 addition & 1 deletion db/seeds/018_MDS_3_3_Project_gen.seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def create_sample_controlled_vocab_terms_attributes(array)
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_groupsOfDiseases_Project', sample_attribute_type: SampleAttributeType.where(title:'Linked Extended Metadata').first , linked_extended_metadata_type: ExtendedMetadataType.where(title:'Design_groupsOfDiseases_Project', supported_type:'ExtendedMetadata').first, label: 'Groups of diseases or conditions(*)' )
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_mortalityData_Project', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_mortalityData_Project_cv, description:'Indication whether mortality data are collected in the Project.', label:'Collects mortality data?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_administrativeInformation_Project', sample_attribute_type: SampleAttributeType.where(title:'Linked Extended Metadata').first , linked_extended_metadata_type: ExtendedMetadataType.where(title:'Design_administrativeInformation_Project', supported_type:'ExtendedMetadata').first, label: 'Administrative information about the Project' )
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centers_Project', sample_attribute_type: @cv_list_type, sample_controlled_vocab:Design_centers_Project_cv, description:'Specification whether the Project is conducted at only one or at more than one Project center.', label:'Mono- or multicentric?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centers_Project', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_centers_Project_cv, description:'Specification whether the Project is conducted at only one or at more than one Project center.', label:'Mono- or multicentric?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centersNumber_Project', sample_attribute_type: @int_type, sample_controlled_vocab: nil, description: 'Number of centers involved in the Project.', label: 'Number of centers')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_dataProviders_Project', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_dataProviders_Project_cv, description:'Specification whether the Project involves only one or more than one data provider.', label:'One or more data providers?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_dataProvidersNumber_Project', sample_attribute_type: @int_type, sample_controlled_vocab: nil, description: 'Number of data providers involved in the Project.', label: 'Number of data providers')
Expand Down
2 changes: 1 addition & 1 deletion db/seeds/019_MDS_3_3_Study_gen.seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def create_sample_controlled_vocab_terms_attributes(array)
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_groupsOfDiseases_Study', sample_attribute_type: SampleAttributeType.where(title:'Linked Extended Metadata').first , linked_extended_metadata_type: ExtendedMetadataType.where(title:'Design_groupsOfDiseases_Study', supported_type:'ExtendedMetadata').first, label: 'Groups of diseases or conditions(*)' )
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_mortalityData_Study', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_mortalityData_Study_cv, description:'Indication whether mortality data are collected in the Study.', label:'Collects mortality data?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_administrativeInformation_Study', sample_attribute_type: SampleAttributeType.where(title:'Linked Extended Metadata').first , linked_extended_metadata_type: ExtendedMetadataType.where(title:'Design_administrativeInformation_Study', supported_type:'ExtendedMetadata').first, label: 'Administrative information about the Study' )
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centers_Study', sample_attribute_type: @cv_list_type, sample_controlled_vocab:Design_centers_Study_cv, description:'Specification whether the Study is conducted at only one or at more than one Study center.', label:'Mono- or multicentric?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centers_Study', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_centers_Study_cv, description:'Specification whether the Study is conducted at only one or at more than one Study center.', label:'Mono- or multicentric?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centersNumber_Study', sample_attribute_type: @int_type, sample_controlled_vocab: nil, description: 'Number of centers involved in the Study.', label: 'Number of centers')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_dataProviders_Study', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_dataProviders_Study_cv, description:'Specification whether the Study involves only one or more than one data provider.', label:'One or more data providers?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_dataProvidersNumber_Study', sample_attribute_type: @int_type, sample_controlled_vocab: nil, description: 'Number of data providers involved in the Study.', label: 'Number of data providers')
Expand Down
2 changes: 1 addition & 1 deletion db/seeds/020_MDS_3_3_Investigation_gen.seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def create_sample_controlled_vocab_terms_attributes(array)
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_groupsOfDiseases_Investigation', sample_attribute_type: SampleAttributeType.where(title:'Linked Extended Metadata').first , linked_extended_metadata_type: ExtendedMetadataType.where(title:'Design_groupsOfDiseases_Investigation', supported_type:'ExtendedMetadata').first, label: 'Groups of diseases or conditions(*)' )
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_mortalityData_Investigation', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_mortalityData_Investigation_cv, description:'Indication whether mortality data are collected in the Investigation.', label:'Collects mortality data?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_administrativeInformation_Investigation', sample_attribute_type: SampleAttributeType.where(title:'Linked Extended Metadata').first , linked_extended_metadata_type: ExtendedMetadataType.where(title:'Design_administrativeInformation_Investigation', supported_type:'ExtendedMetadata').first, label: 'Administrative information about the Investigation' )
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centers_Investigation', sample_attribute_type: @cv_list_type, sample_controlled_vocab:Design_centers_Investigation_cv, description:'Specification whether the Investigation is conducted at only one or at more than one Investigation center.', label:'Mono- or multicentric?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centers_Investigation', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_centers_Investigation_cv, description:'Specification whether the Investigation is conducted at only one or at more than one Investigation center.', label:'Mono- or multicentric?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_centersNumber_Investigation', sample_attribute_type: @int_type, sample_controlled_vocab: nil, description: 'Number of centers involved in the Investigation.', label: 'Number of centers')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_dataProviders_Investigation', sample_attribute_type: @cv_type, sample_controlled_vocab:Design_dataProviders_Investigation_cv, description:'Specification whether the Investigation involves only one or more than one data provider.', label:'One or more data providers?')
emt.extended_metadata_attributes << ExtendedMetadataAttribute.new(title: 'Design_dataProvidersNumber_Investigation', sample_attribute_type: @int_type, sample_controlled_vocab: nil, description: 'Number of data providers involved in the Investigation.', label: 'Number of data providers')
Expand Down
68 changes: 0 additions & 68 deletions docs/_config.yml

This file was deleted.

0 comments on commit f580457

Please sign in to comment.