dieterich-lab / circtools

circtools: a modular, python-based framework for circRNA-related tools that unifies several functionalities in a single, command line driven software.
http://circ.tools
GNU General Public License v3.0
25 stars 20 forks source link

primer design R installation script stuck in loop #28

Closed tjakobi closed 7 years ago

tjakobi commented 7 years ago

When running the primer design install script, I get stuck in a loop and can't continue the installation:

The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
The current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
^CThe current version of circtools can work only with RSQLite version <= 1.1.5
Your version is 2.0
Would you like to install the 1.1.15 one? [y/n]
tjakobi commented 7 years ago

Reopening the issue.

The issue persists if the package IS already installed but works fine if it's not yet installed.

alexey0308 commented 7 years ago

I can not reproduce your problem. If any of the answers (y or n) are given, the loop must be stopped.

alexey0308 commented 7 years ago

invoking inside a bash script the same command as the installation script does not cause the problem

tjakobi commented 7 years ago

Fixed by pulling over the latest changes from master.