Skip to content

Commit

Permalink
revert study.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrine33 committed Aug 9, 2024
1 parent 2715eea commit a483550
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions app/api/io/study.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,26 @@ class Io::Study < Core::Io::Base

define_attribute_and_json_mapping(
'
name => name
ethically_approved => ethically_approved
state => state
abbreviation => abbreviation
name => name
ethically_approved => ethically_approved
state => state
abbreviation => abbreviation
study_metadata.study_type.name => type
study_metadata.faculty_sponsor.name => sac_sponsor
study_metadata.reference_genome.name => reference_genome
study_metadata.study_ebi_accession_number => accession_number
study_metadata.study_description => description
study_metadata.study_abstract => abstract
study_metadata.study_type.name => type
study_metadata.faculty_sponsor.name => sac_sponsor
study_metadata.reference_genome.name => reference_genome
study_metadata.study_ebi_accession_number => accession_number
study_metadata.study_description => description
study_metadata.study_abstract => abstract
study_metadata.contaminated_human_dna => contaminated_human_dna
study_metadata.remove_x_and_autosomes? => remove_x_and_autosomes
study_metadata.separate_y_chromosome_data => separate_y_chromosome_data
study_metadata.contains_human_dna => contains_human_dna
study_metadata.commercially_available => commercially_available
study_metadata.data_release_study_type.name => data_release_sort_of_study
study_metadata.data_release_strategy => data_release_strategy
study_metadata.contaminated_human_dna => contaminated_human_dna
study_metadata.remove_x_and_autosomes? => remove_x_and_autosomes
study_metadata.separate_y_chromosome_data => separate_y_chromosome_data
study_metadata.contains_human_dna => contains_human_dna
study_metadata.commercially_available => commercially_available
study_metadata.data_release_study_type.name => data_release_sort_of_study
study_metadata.data_release_strategy => data_release_strategy
study_metadata.contaminated_human_data_access_group => contaminated_human_data_access_group
study_metadata.program => program
'
)
end

0 comments on commit a483550

Please sign in to comment.