Skip to content
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

Remove advice to change a line, and/or file pull request w/ BookwormDB code? #1

Open
bmschmidt opened this issue Jun 17, 2015 · 1 comment

Comments

@bmschmidt
Copy link
Member

I'm not sure I understand the commands in lines 175-177: it looks like this is correcting a bug in the Bookworm code, but I can't tell what it is. If there is one, we should correct it directly rather than force a workaround.

echo "    In line 27 of federalist/federalist/scripts/makeConfiguration.py, change"
echo
echo "    /.my.cnf  --> os.path.expanduser(\"~/.my.cnf\")"

systemConfigFile.read(), the function called in line 27, reads through a list of config files and keeps the values from the last one that it read; since os.path.expanduser("~/.my.cnf") is already in the list after /.my.cnf, the change suggested shouldn't make any difference. Does it?

@theaidenlab
Copy link
Member

Right, this bug was fixed a while back.
I forgot to remove it from the install script.

​Thanks!​

On Wed, Jun 17, 2015 at 3:39 PM, Benjamin Schmidt notifications@github.com
wrote:

I'm not sure I understand the commands in lines 175-177
https://github.com/Bookworm-project/FreshInstallationScript/blob/master/ubuntu_install_before_bookworm.sh#L175-L177:
it looks like this is correcting a bug in the Bookworm code, but I can't
tell what it is. If there is one, we should correct it directly rather than
force a workaround.

echo " In line 27 of federalist/federalist/scripts/makeConfiguration.py, change"echoecho " /.my.cnf --> os.path.expanduser("~/.my.cnf")"

systemConfigFile.read(), the function called in line 27, reads through a
list of config files and keeps the values from the last one that it read;
since os.path.expanduser("~/.my.cnf") is already in the list after
/.my.cnf, the change suggested shouldn't make any difference. Does it?


Reply to this email directly or view it on GitHub
#1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants