Issue 260

This has a lot of the study creation in place.  Please review, since it's somewhat large.  Note, you can ignore anything in the "vendor" directories since they are pulled directly from jquery (MIT license).  Also, the JS at the head of create_study.html is all straight from jquery example code (CC0 license, but I attributed anyways for good measure), so you can probably ignore that, too, although I added from line 162 onward.

Where relevant, I marked lines with "TODO" comments (but probably issues should be created); most of these simply depend on the ontology and controlled vocabulary stuff actually getting merged.

Some changes in this PR and a previous PR change the database schema, so make sure to reload it!  I also had to change the EMP loading shell script slightly to reflect those changes.  I'll send out the new version shortly.
This seems like overkill to me, especially in the short term, for what is
in the end functionally equivalent, even if it is syntactically kinda neat.
Others' thoughts?
On Sep 9, 2014 2:26 PM, "Joshua Shorenstein" <notifications@github.com>
wrote:

> In qiita_db/study.py:
>
> > @@ -537,6 +540,24 @@ class StudyPerson(QiitaObject):
> >      _table = "study_person"
> >
> >      @classmethod
> > +    def iter(cls):
>
>
> http://stackoverflow.com/questions/10814535/can-i-iterate-over-a-class-in-python
> This looks like what you want to do. It seems you can't make iter a
> classmethod, but can make a function to do it at the class level.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/qiita/pull/267/files#r17325425>.
>