Skip to content

Commit 646a29c

Browse files
authored
Merge pull request #38 from intermine/dev
1.11.1
2 parents 6663183 + eb87436 commit 646a29c

39 files changed

Lines changed: 2411 additions & 1363 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ current-docs.zip
77
intermine-docs-1.00.03.zip
88
build
99
MANIFEST
10+
.idea

.travis.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1+
---
2+
os: linux
13
language: python
2-
sudo: false # use container based infrastructure
4+
jdk: openjdk11
5+
dist: bionic
6+
services: postgresql
7+
addons:
8+
postgresql: 11
39
env:
4-
global:
5-
- TESTMODEL_URL=http://localhost:8080/intermine-demo
6-
- TESTMODEL_PATH=intermine-demo
7-
before_install:
8-
- ./config/travis/init.sh
9-
script:
10-
- python setup.py test
11-
- python setup.py livetest
10+
global:
11+
- TESTMODEL_URL=http://localhost:8080/intermine-demo
12+
- TESTMODEL_PATH=intermine-demo
13+
before_script:
14+
- "./config/travis/init-solr.sh"
15+
- "./config/travis/init.sh"
16+
script:
17+
- python setup.py test
18+
- python setup.py livetest
1219
python:
13-
- "2.7"
14-
- "3.4"
15-
- "3.5"
16-
- "pypy"
17-
- "pypy3"
20+
- "3.6"
21+
- "3.7"
22+

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ to perform queries. Some examples of sites that
2525
are powered by InterMine software, and thus offer
2626
a compatible webservice API, are:
2727

28-
* [FlyMine](http://www.flymine.org)
28+
* [FlyMine](https://www.flymine.org)
2929
* [MouseMine](http://www.mousemine.org)
3030
* [YeastMine](http://yeastmine.yeastgenome.org)
3131
* [ZebrafishMine](http://zebrafishmine.org)
@@ -49,10 +49,10 @@ This package is compatible with both Python 2.7 and 3.x. We plan to drop 2.7 sup
4949
Downloading:
5050
------------
5151

52-
The easiest way to install is to use easy_install:
52+
The easiest way to install is to use pip:
5353

5454
```
55-
sudo easy_install intermine
55+
pip install intermine
5656
```
5757

5858
The client is also available via [bioconda](https://anaconda.org/bioconda/intermine).
@@ -103,6 +103,20 @@ Also see:
103103

104104
* Documentation on PyPi: http://packages.python.org/intermine/
105105

106+
Before Making PRs:
107+
-------------------------------
108+
Please run autopep8 on your files so your code will follow the pep8 conventions. Do it as follows:
109+
110+
```
111+
autopep8 <filenames> --in-place
112+
```
113+
114+
For example:
115+
116+
```
117+
autopep8 file1.py file2.py --in-place
118+
```
119+
106120

107121

108122
Changes:
@@ -142,8 +156,8 @@ Changes:
142156
0.98.14 Added status property to list objects
143157
0.98.13 Added query column summary support
144158

145-
[badge]: https://travis-ci.org/alexkalderimis/intermine-ws-client.py.svg?branch=master
146-
[ci]: https://travis-ci.org/alexkalderimis/intermine-ws-client.py
159+
[badge]: https://travis-ci.org/intermine/intermine-ws-python.svg?branch=dev
160+
[ci]: https://travis-ci.org/intermine/intermine-ws-python
147161

148162
Copyright and Licence
149163
------------------------

config/travis/init-solr.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# set up solr for testmine
2+
# testmine's setup script populates these empty indexes
3+
4+
wget http://archive.apache.org/dist/lucene/solr/8.6.2/solr-8.6.2.tgz
5+
tar xzf solr-8.6.2.tgz && ./solr-8.6.2/bin/solr start
6+
./solr-8.6.2/bin/solr create -c intermine-search
7+
./solr-8.6.2/bin/solr create -c intermine-autocomplete

config/travis/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ fi
1212
# Pull in the server code.
1313
git clone --single-branch --depth 1 https://github.com/intermine/intermine.git server
1414

15-
1615
export PSQL_USER=postgres
1716

1817
# Set up properties
@@ -29,7 +28,8 @@ sed -i -e $SED_SCRIPT $TESTMODEL_PROPS
2928
# We will need a fully operational web-application
3029
echo '#---> Building and releasing web application to test against'
3130
(cd server/testmine && ./setup.sh)
32-
sleep 60 # let webapp startup
31+
# Travis is so slow
32+
sleep 90 # let webapp startup
3333

3434
# Warm up the keyword search by requesting results, but ignoring the results
3535
$GET "$TESTMODEL_URL/service/search" > /dev/null

docs/make.bat

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
@ECHO OFF
2-
3-
pushd %~dp0
4-
5-
REM Command file for Sphinx documentation
6-
7-
if "%SPHINXBUILD%" == "" (
8-
set SPHINXBUILD=sphinx-build
9-
)
10-
set SOURCEDIR=source
11-
set BUILDDIR=build
12-
set SPHINXPROJ=Intermine
13-
14-
if "%1" == "" goto help
15-
16-
%SPHINXBUILD% >NUL 2>NUL
17-
if errorlevel 9009 (
18-
echo.
19-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20-
echo.installed, then set the SPHINXBUILD environment variable to point
21-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22-
echo.may add the Sphinx directory to PATH.
23-
echo.
24-
echo.If you don't have Sphinx installed, grab it from
25-
echo.http://sphinx-doc.org/
26-
exit /b 1
27-
)
28-
29-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30-
goto end
31-
32-
:help
33-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34-
35-
:end
36-
popd
1+
@ECHO OFF
2+
3+
pushd %~dp0
4+
5+
REM Command file for Sphinx documentation
6+
7+
if "%SPHINXBUILD%" == "" (
8+
set SPHINXBUILD=sphinx-build
9+
)
10+
set SOURCEDIR=source
11+
set BUILDDIR=build
12+
set SPHINXPROJ=Intermine
13+
14+
if "%1" == "" goto help
15+
16+
%SPHINXBUILD% >NUL 2>NUL
17+
if errorlevel 9009 (
18+
echo.
19+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20+
echo.installed, then set the SPHINXBUILD environment variable to point
21+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22+
echo.may add the Sphinx directory to PATH.
23+
echo.
24+
echo.If you don't have Sphinx installed, grab it from
25+
echo.http://sphinx-doc.org/
26+
exit /b 1
27+
)
28+
29+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30+
goto end
31+
32+
:help
33+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34+
35+
:end
36+
popd

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,3 @@
196196

197197
# If true, `todo` and `todoList` produce output, else they produce nothing.
198198
todo_include_todos = True
199-
\n

intermine.egg-info/PKG-INFO

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Metadata-Version: 1.1
2+
Name: intermine
3+
Version: 1.12.0
4+
Summary: InterMine WebService client
5+
Home-page: http://www.intermine.org
6+
Author: InterMine team
7+
Author-email: all@intermine.org
8+
License: LGPL, BSD
9+
Description: InterMine Webservice Client
10+
----------------------------
11+
12+
A Python API to access bioinformatics
13+
data warehouses powered by the InterMine platform.
14+
15+
16+
Keywords: webservice,genomic,bioinformatics
17+
Platform: UNKNOWN
18+
Classifier: Programming Language :: Python :: 2.7
19+
Classifier: Programming Language :: Python :: 3
20+
Classifier: Development Status :: 5 - Production/Stable
21+
Classifier: Intended Audience :: Science/Research
22+
Classifier: Intended Audience :: Developers
23+
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
24+
Classifier: License :: OSI Approved :: BSD License
25+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
26+
Classifier: Topic :: Internet :: WWW/HTTP
27+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
28+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
29+
Classifier: Operating System :: OS Independent
30+
Provides: intermine

intermine.egg-info/SOURCES.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
LICENSE-BSD
2+
LICENSE-LGPL
3+
MANIFEST.in
4+
README.md
5+
setup.py
6+
intermine/__init__.py
7+
intermine/bar_chart.py
8+
intermine/constraints.py
9+
intermine/decorators.py
10+
intermine/errors.py
11+
intermine/idresolution.py
12+
intermine/model.py
13+
intermine/pathfeatures.py
14+
intermine/query.py
15+
intermine/query_manager.py
16+
intermine/registry.py
17+
intermine/results.py
18+
intermine/util.py
19+
intermine/webservice.py
20+
intermine.egg-info/PKG-INFO
21+
intermine.egg-info/SOURCES.txt
22+
intermine.egg-info/dependency_links.txt
23+
intermine.egg-info/top_level.txt
24+
intermine/lists/__init__.py
25+
intermine/lists/list.py
26+
intermine/lists/listmanager.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)