-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add changes to achieve progress described #177
Conversation
The progress with Tutorial 4 is detailed in issue hjkgrp#176 hjkgrp#176
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #177 +/- ##
==========================================
- Coverage 25.69% 25.66% -0.03%
==========================================
Files 102 102
Lines 33825 33819 -6
==========================================
- Hits 8690 8681 -9
- Misses 25135 25138 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
if dbfs and args.dbfs: | ||
com = obab + ' ' + dbfs + ' ' + 'simres.smi -d -xf' + \ | ||
finger + ' -s"' + smi + '" -al' + nmols | ||
else: | ||
mybash(obab + ' -isdf ' + dbsdf + ' -osdf -O tmp.sdf -d') | ||
com = obab + ' tmp.sdf simres.smi -xf' + finger + ' -s"' + smi + '"' | ||
com = obab + ' tmp.sdf -O simres.smi -xf' + finger + ' -s"' + smi + '"' # babel -> obabel |
Check warning
Code scanning / CodeQL
Unsafe shell command constructed from library input Medium
library input
shell command
This string concatenation which depends on
library input
shell command
This string concatenation which depends on
library input
shell command
This string concatenation which depends on
library input
shell command
Hi @tlinjordet, thank you for going through the trouble of actually tracking these issues down. Openbabel3 support is relatively new to molSimplify and even though we recently had students go through all the tutorials, apparently none of them used OB3. Sorry that it took me so long to review and merge this PR! |
The progress and challenges from installation up through Tutorial 4 is detailed in issue #176.
In summary, the changes made from tag v1.7.3 are:
mybash
with subprocess because the previous version of the function failed/timed out.getsim
,dissim
, anddbsearch
mainly to deal withobab = obabel
given Open Babel v3.x.I am interested in understanding any misapprehensions on my own part to better understand molSimplify as a whole, beyond simply getting the package to work.
Note that as described in #176, at no point was I able to pass all the tests, even in the current master branch.