Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First database established with DeepCell Datasets #45

Merged
merged 19 commits into from
Oct 13, 2020
Merged

Conversation

MekWarrior
Copy link
Collaborator

This PR shores up the data models and training data views necessary to load version one of the database. The DB can be initialized by a notebook with access to the current dataset. It makes use of the API to load each entry. The training data view has been added and stubbed out to allow for npz download from cloud storage locations.

Addresses #7 and #12

MekWarrior and others added 19 commits August 18, 2020 15:21
* define the sample form classes without model_form, and re-implement validate_on_submit.
* use a field macro for easier field rendering in the HTML template.
* Update ExperimentForm from defined wtform classes.
* Undo name change in SampleForm
* delete old code that is trying to be rendered.
* use a for loop to render the radio list choices dynamically.
* paginated experiments table at GET /experiments
* fix misnamed ExperimentForm
* add experiment-detail template
* wrap class in quotes.
* Added new module/blueprints for Trainin_Data collection
* Update tests for training data routes
* register the new training blueprints
* fix some blueprint issues due to bad copy/paste
* remove header for link
* slightly improve display for training detail view.
* Bugfixes.
* move fixtures into conftest and use the experiment fixture in the samples API tests.
* Now that `Experiment` is required on the `Samples`, we need to make sure there is an Experiment in the DB before creating any Sample.
* PEP8 whitespace
* renamed templates
* add ITEMS_PER_PAGE as a configuration setting, fetch it during pagination.
* fix experiment-detail template
* add table for all samples
* add button to experiment-detail to view all samples for a given experiment
* Uses filters based on URL params!
* PEP8
* whitelist attribute names to filter on.
* Filtering using URL args is working.
* refactor experiments_table to view_all_experiments, to better match other blueprints.
* build forms for samples and training.
* Pass parsed URL kwargs to the template.
* Template filter forms using FlaskForms.
* PEP8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants