peptide evidence is not saving. wtf
added validates associated sar si, changed mzid_files view index to not show load mzid 2 db unless it sar are specified
migration to add unimod_accession to modifications meaning changes to the schema.rb and mwb. Added has_many modifications to peptide model. Also, struggling to make sense of the peptide scope thing, whether always save or find by seq+modifications
migration to drop incorrectly named join table sii_peptide_evidences. schema changed
added dependent destroy in the peptide_evidence belongs to peptide association
just realised I dont want the dependent destroy between peptide evidences and peptides bc a peptide might be referred to other peptide evidences, peptide scope is global man
fixed some associations, like uniq true in sii habtm peptide_evidences
fixed some uniqueness issues on associations in models
created peptide hypothesis model, added corresponding associationsand shit
fixed some associations, removed validates peptide_id presence true in modification, think about it, doesn't make sense, check savePeptide in mzid_2_db.rb
test modifications , also deleted som fixtures and tests related to non-existing tables
added validates_uniqueness_of associations in modification, sii and sir. Also wrote some simple test that passes ok
changed table name peptides to peptide_sequences. Modified all files and associations accordingly
migrations to rename peptide 2 peptide_sequences and work in savePeptideModifications
added proteinambiguitygroups method in mzid_parser and something in mzid2db as well
added Protein ambiguity groups, and protein detection hypothesis parse and save methods. working on it
column names in protein hypothesis user params and protein hypothesis psi terms were exchanged, ran migrations to correct the thing
Turn former sii_pep_evidences_join_table to peptide_spectrum_assignments. Changed associations accordingly: has_many through
created protein_detection, protein_detection_list, and protein_detection_protocols. Still have to run the migrations, man
saving protein detection(pd), pdp and pdl works, check savePeptideHypothesis, to unamibuously identify the psa !