You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add lineage API
* Format sample code
* Update setup.py to be compatible with newer versions of Python
* Add additional args to lineage API
* setup.cfg: change description-file to description_file, remove test alias and coverage configuration
Copy file name to clipboardExpand all lines: README.md
+13-10
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,8 @@ from labkey.api_wrapper import APIWrapper
93
93
94
94
print("Create an APIWrapper")
95
95
labkey_server ='localhost:8080'
96
-
container_path ='Tutorials/HIV Study'# in this example, Tutorials is a project name and HIV study is a subfolder under it.
96
+
# in this example, Tutorials is a project name and HIV study is a subfolder under it.
97
+
container_path ='Tutorials/HIV Study'
97
98
contextPath ='labkey'
98
99
schema ='core'
99
100
table ='Users'
@@ -119,22 +120,23 @@ LabKey Server v15.1 and later.
119
120
This package is maintained by [LabKey](http://www.labkey.com/). If you have any questions or need support, please use
120
121
the [LabKey Server developer support forum](https://www.labkey.org/home/developer/forum/project-start.view).
121
122
123
+
To install the necessary dependencies for local development you can run the following command:
124
+
125
+
```bash
126
+
pip install -e .
127
+
```
128
+
122
129
When contributing changes please use `Black` to format your code. To run Black follow these instructions:
123
130
1. Install black: `pip install black`
124
131
2. Run black: `black .`
125
132
3. Commit the newly formatted code.
126
133
127
134
### Testing
128
-
If you are looking to contribute please run the tests before issuing a PR. The tests can be initiated by running
129
-
130
-
```bash
131
-
$ python setup.py test
132
-
```
133
-
134
-
This runs the tests using [pytest](https://docs.pytest.org/en/latest/contents.html). If you'd like to run pytest directly you can install the testing dependencies in your virtual environment with:
135
+
If you are looking to contribute please run the tests before issuing a PR. To run the tests you'll need to install the
136
+
additional testing dependencies, to do this run:
135
137
136
138
```bash
137
-
$ pip install -e .[test]
139
+
$ pip install -e '.[test]'
138
140
```
139
141
140
142
Then, the tests can be run with
@@ -150,4 +152,5 @@ $ pytest . -m "integration"
150
152
```
151
153
152
154
### Maintainers
153
-
Package maintainer's can reference the [Python Package Maintenance](https://docs.google.com/document/d/13nVxwyctH4YZ6gDhcrOu9Iz6qGFPAxicE1VHiVYpw9A/) document (requires permission) for updating releases.
155
+
Package maintainer's can reference the [Python Package Maintenance](https://docs.google.com/document/d/13nVxwyctH4YZ6gDhcrOu9Iz6qGFPAxicE1VHiVYpw9A/) document (requires permission) for updating
0 commit comments