[WIP] New ebi submit [WIP]

Almost there, but I thought I'd get this in now so that people can begin reviewing, it's kind of big.

Needs:
- [ ] Logging
- [ ] Test code
- [ ] Script file (this is the library code)
- [ ] Final step that calls ASCP on the XML files generated
my take here is that it should always be the same, default to 'no_data',
and source from, say, `self._empty_value`. seem reasonable?


On Mon, Jun 9, 2014 at 10:52 AM, adamrp <notifications@github.com> wrote:

> In python_code/ebi.py:
>
> > +            'existing_study_type': escape(clean_whitespace(
> > +                self.investigation_type))}
> > +        )
> > +        study_abstract = ET.SubElement(descriptor, 'STUDY_ABSTRACT')
> > +        study_abstract.text = clean_whitespace(escape(self.study_abstract))
> > +
> > +        if self.additional_metadata:
> > +            study_attributes = ET.SubElement(study, 'STUDY_ATTRIBUTES')
> > +            self._add_dict_as_tags_and_values(study_attributes,
> > +                                              'STUDY_ATTRIBUTE',
> > +                                              self.additional_metadata)
> > +
> > +        return study_set
> > +
> > +    def add_sample(self, sample_name, taxon_id=None, description=None,
> > +                   empty_value='unknown', **kwargs):
>
> Right now, the code allows each sample to have a different empty_value.
> Not sure how useful that is. If it's not useful, then we can just switch it
> to a member variable and be done with it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/qiime/qiime_web_app/pull/704/files#r13551079>.
>