-
Notifications
You must be signed in to change notification settings - Fork 309
Updated BioSQL wiki page to reflect the latest version #136
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
eefb2b3
190dcb7
65ce8e3
c8e57f6
43de72b
d7e6acb
bde029a
8732ab1
af4272c
4dcd7ad
cbd815b
82f4828
be85e45
cb79aa9
d4f4351
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -261,19 +261,20 @@ Running the unit tests | |
---------------------- | ||
|
||
Because there are so many ways you could have setup your BioSQL | ||
database, you have to tell the unit test a few bits of information by | ||
editing the file Tests/setup\_BioSQL.py and filling in the following | ||
database, you have to tell the unit test a few bits of information. | ||
If you installed biopython using pip then the relevant [**Tests**](https://github.com/biopython/biopython/tree/master/Tests) | ||
folder would not have been copied. If this is the case one can | ||
perform check out (or export) using: | ||
|
||
```bash | ||
svn export https://github.com/biopython/biopython/trunk/Tests | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, please avoid |
||
``` | ||
Inside *Tests*, copy the file *biosql.ini.sample* to *biosql.ini* and edit it by filling in the following | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use double-backtickes, |
||
fields: | ||
|
||
``` python | ||
DBDRIVER = 'MySQLdb' | ||
DBTYPE = 'mysql' | ||
``` | ||
|
||
and a little lower down, | ||
|
||
``` python | ||
DBHOST = 'localhost' | ||
DBUSER = 'root' | ||
DBPASSWD = '' | ||
TESTDB = 'biosql_test' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't recommend using
svn
here. If you want to avoid needinggit
, we can just download a tar-ball or zip file from GitHub using e.g.Or,
Also this lets us recommend getting the tests to match the version of Biopython installed, which should prevent test failures from a version mis-match (although that would be rare with BioSQL as this code is fairly static these days).