-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue #27 - Search new stock name, ignore column and email support. #30
Issue #27 - Search new stock name, ignore column and email support. #30
Conversation
NOTE: this update requires an update to KP nodes to include all hook_alter() for this update to apply. - Upload functionality can now search new name (using a token eg. AGL) to a specified project name. - Ignore or skip a set column names. - Provide a support email for data collectors to email for support.
A. Support Email
B. Origin
C. New Stock Names (with AGL)
|
…-ignore-header-and-provide-a-support-email
- Support email and video demo link added to Upload page Need Help? - Removed print command that prints stock_ids to the terminal.
|
This is to reduce excessive printing of the same percentage to the terminal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A cursory review of the code looks good except for the one comment mentioned regarding a default support email.
@@ -326,6 +326,10 @@ function rawpheno_preprocess_rawpheno_upload_form_master(&$variables, $hook) { | |||
$variables['rel_url'] = url('phenotypes/raw/instructions'); | |||
// Page Title | |||
$variables['page_title'] = variable_get('rawpheno_upload_title'); | |||
// Support Email. | |||
$support_email = ''; | |||
drupal_alter('rawpheno_support_email', $support_email); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be an API function for retrieving the support email. Furthermore, the code in kp_nodes determining the default support email (https://github.com/UofS-Pulse-Binfo/kp_nodes/pull/7/files#diff-ea83b3e1886aaaeac403bd6114856bd6R553) should be in this rawphenotypes API function --otherwise only we are given a default ;-)
Note: I added a pull request for Kp Nodes as well: UofS-Pulse-Binfo/kp_nodes#7 (review) There are suggested changes on it too :-) |
Thus, I'm calling this PR Approved 🎉 |
NOTE
1. this update requires an update to KP nodes to include all
hook_alter() for this update to apply (Issue #6 - Rawphenotypes hook_alter() implementations).
2. Should update code when - Issue #12 Stock names look-up should be restricted to an organism is merged.
to a specified project name.
To test:
A. Support email:
In the homepage of you dev, in rawphenotypes dashboard, click need help? link and test
B. Origin
In all upload stages, it should skip this column.
C. New stock names (with AGL).