-
Couldn't load subscription status.
- Fork 79
Additional Processing Command added to Software_Command #2694
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
Conversation
* fix Keemei (#2510) * rename preprocessed_data_id artifact-id * prints to debug * Keemei fix (#2517) * fix Keemei * delete keemei * keemei delete * rewrite_fastq=True * rmtree * add : * testing EBI * add secure * travis tests * @ElDeveloper key! * Fix typo
* fix Keemei (#2510) * fix #2321 * fixing get studies * fix qiita_db * addressing @ElDeveloper comments * fixing error with skipIf
* fix Keemei (#2510) * updating illumina models
* fix Keemei (#2510) * plugin-api * improve format
* DOC: Cleanup of JavaScript libraries and licenses There were a few JavaScript files that were not used anywhere and we were missing a handful of license files. I've cleaned up all of that (and for consistency made all the "licence" into "license"). Fixes #2535 * DOC: Document all the JS files * BUG: Add natural sorting for data tables
* fix Keemei (#2510) * fix int/str errors with workflows * adding a patch to fix all ints parameters * all -> any patch 64
Strips UTF-8 characters from study titles UTF-8 characters that are not also printable ASCII characters are stripped from new study titles, as well as existing studies flagged 'public'. This is because study titles are passed as metadata to new analyses, and some analysis packages may not work well with them.
Merging charles-cowart->66.py with another topic branch 66.py
* fixes #2629 changed button text from Select None to Unselect All * adding ssh backend support * added paramiko * install scp package for python * testing scp directly in travis * testing scp directly in travis * testing scp directly in travis * testing scp directly in travis * testing scp directly in travis * testing scp directly in travis * addressing @ElDeveloper comments * fix _get_valid_files * glob.glob -> glob * fix error * fix error * bringing back download_remote * improving tests * rm docstrings as requested by @ElDeveloper * fixing tests - remote_files->local_files
Merged 66.py with that from #2660
Code wrapped in a for loop and iterates through a list of known Study status-types; seems a little cleaner than union-ing multiple result sets.
Software.Command extended to support additional metadata regarding extra processing that may be required to merge BIOMs.
Software.Command extended to support additional metadata regarding extra processing that may be required to merge BIOMs.
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 are errors in the build and I think I highlighted the changes in here, please fix, thanks.
qiita_db/test/test_analysis.py
Outdated
| dflt_analysis = user.default_analysis | ||
| aid = 4 | ||
| if addtl_processing_cmd: | ||
| cmd_id = qdb.artifact.Artifact(aid).processing_parameters.command |
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.
note that this is cmd, and the line below is cmd_id
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.
I just broke it into two lines to pass flake8. In the next line, cmd_id is reassigned to cmd_id.id. I just didn't want to create an additional variable. It's probably bad form, now that I look at it.
qiita_db/test/test_analysis.py
Outdated
|
|
||
| self._wait_for_jobs(new) | ||
|
|
||
| with qdb.sql_connection.TRN: |
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.
you need to add the same if than above to only enter this block when needed ...
Last-minute comment did not meet flake8's approval.
_methods renamed to Qmethods
Codecov Report
@@ Coverage Diff @@
## dev #2694 +/- ##
==========================================
+ Coverage 94.32% 94.34% +0.01%
==========================================
Files 166 166
Lines 19747 19788 +41
==========================================
+ Hits 18626 18668 +42
+ Misses 1121 1120 -1
Continue to review full report at Codecov.
|
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.
Good progress but a few comments.
| ALTER TABLE oauth_software ADD CONSTRAINT fk_oauth_software FOREIGN KEY ( client_id ) REFERENCES oauth_identifiers( client_id ) ; | ||
| ]]></string> | ||
| </script> |
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.
This is no right, correct? There should have been changes in this file, cause we added a new column. Could you double check?
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.
Just added a line. Just to clarify, this is an internal format right? I don't see a schema reference at the top.
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.
I think is fine now but here is more information: https://github.com/biocore/qiita/blob/master/CONTRIBUTING.md#making-database-changes, will wait for confirmation.
Comments modified as requested. 'Q-functions' in qiita-recover-jobs have been reverted to begin with '_'.
Modified qiita-db.dbs to include additional column defined in software_command table.
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.
Getting closer but some minor things ...
| ALTER TABLE oauth_software ADD CONSTRAINT fk_oauth_software FOREIGN KEY ( client_id ) REFERENCES oauth_identifiers( client_id ) ; | ||
| ]]></string> | ||
| </script> |
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.
I think is fine now but here is more information: https://github.com/biocore/qiita/blob/master/CONTRIBUTING.md#making-database-changes, will wait for confirmation.
Adds an 'addtl_processing_cmd' property to Command, to obtain additional processing steps needed to merge BIOMs.