Skip to content

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

Open

Description

@bmschmidt

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?

Activity

  1. theaidenlab commented on Jun 17, 2015

    @theaidenlab
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions