BLOCKER: Investigation type and ebi per preprocessed

This adds the possibility of setting investigation types and then submitting those to ebi.
Fair enough.

On (Nov-04-14|14:00), Daniel McDonald wrote:
> > @@ -1253,6 +1250,15 @@ def create(cls, md_template, raw_data, study, data_type,
> >          return cls(prep_id)
> >  
> >      @classmethod
> > +    def validate_investigation_type(self, investigation_type):
> > +        """Simple investigation validation to avoid code duplication"""
> > +        investigation_types = Ontology(convert_to_id('ENA', 'ontology'))
> > +        terms = investigation_types.terms
> > +        if investigation_type not in terms:
> > +            raise QiitaDBColumnError("Not a valid investigation_type. "
> 
> @ElDeveloper, I think we want to maintain a strong separation too between qiita_db and the GUI
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/qiita/pull/564/files#r19839490