File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1010- Run ` conda install --use-local knotergy ` to install (case sensitive)
1111- Run ` Knotergy --help ` to insure it installed properly (case sensitive)
1212
13+ If you want to delete the package, run ` conda remove Knotergy `
14+
1315
1416## Automated Package Upload
1517
Original file line number Diff line number Diff line change 11package :
22 name : knotergy
3- version : " 0.1.0 "
3+ version : " 0.1.1 "
44
55source :
66 - path : ..
Original file line number Diff line number Diff line change 99#include " loop_tree/LoopFactory.hpp"
1010#include " energy/ComputeEnergy.hpp"
1111
12+ #define KNOTERGY_VERSION " 0.1.1"
13+
1214namespace {
1315void help () {
1416 std::cout << " Usage: ./Knotergy [options]\n "
1517 << " Options:\n "
1618 << " -h, --help Show this help message\n "
19+ << " -V, --version Print version and exit\n "
1720 << " -s, --sequence <string> RNA sequence\n "
1821 << " -r, --structure <string> Input structure\n "
1922 << " -i, --input <file> Input file\n "
@@ -87,6 +90,9 @@ int main(int argc, char** argv) {
8790 } else if (arg == " -h" || arg == " --help" ) {
8891 help ();
8992 return 0 ;
93+ } else if (arg == " -v" || arg == " --version" ) {
94+ std::cout << " Knotergy " << KNOTERGY_VERSION << std::endl;
95+ return 0 ;
9096 } else {
9197 std::cerr << " Unknown option or missing value: " << arg << std::endl;
9298 return 1 ;
You can’t perform that action at this time.
0 commit comments