-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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