Closed GiovanniBussi closed 5 years ago
Merging #39 into master will decrease coverage by
11.22%
. The diff coverage is24.75%
.
@@ Coverage Diff @@
## master #39 +/- ##
=========================================
- Coverage 67.22% 56% -11.23%
=========================================
Files 13 14 +1
Lines 1968 2675 +707
=========================================
+ Hits 1323 1498 +175
- Misses 645 1177 +532
Impacted Files | Coverage Δ | |
---|---|---|
barnaba/commandline.py | 24.75% <24.75%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 66fbb82...fca8f40. Read the comment docs.
This is an iteration of #28. I think I fixed the last issue so that it could be merged.
The goal of this change is to allow users to do the following
This would allow using from python the features that are implemented in the command line interface. It will thus allow to add nosetests for the command line interface. Most importantly, using command line tools from python allows to speedup the processing of multiple files (
bin/barnaba
is very slow at startup due tomdtraj
import).Changes are pretty small, and are better seen looking at the individual commits:
/bin/barnaba
tobarnaba/commandline.py
. This makes the command line available from pythonbin/barnaba
script, now just callingbarnaba.commandline.main()
main
with a stringbarnaba.commandline.main(["ENM --pdb test.pdb")