Skip to content

Commit 8c6346e

Browse files
authored
link example files in example readme (#16)
* link example files in example readme * rename example files
1 parent e7cc187 commit 8c6346e

10 files changed

+26
-12
lines changed

examples/02.py renamed to examples/02-patch-metadata-per-category.py

File renamed without changes.

examples/README.md

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,64 @@
22

33
Work in progress!
44

5-
# 00.py
5+
# [00-read-items.py]
66

77
Read all items.
88

9-
# 01.py
9+
# [01-download-timestamp-archive.py]
1010

1111
Download all the timestamp archive zip created in the past 7 days.
1212

13-
# 02.py
13+
# [02-patch-metadata-per-category.py]
1414

1515
Look for all items of a particular category and patch the metadata if it is empty.
1616

17-
# 03.py
17+
# [03-experiment-file-handling.py]
1818

1919
Upload, download and delete a file in an experiment.
2020

21-
# 04.py
21+
# [04-create-teamgroup-add-user.py]
2222

2323
Create a teamgroup and add a user in it.
2424

25-
# 05.py
25+
# [05-create-modify-item.py]
2626

2727
Create an item in the database and modify it.
2828

29-
# 06.py
29+
# [06-create-users.py]
3030

3131
Create users in batch.
3232

33-
# 07.py
33+
# [07-patch-sysadmin-settings.py]
3434

3535
Patch instance config: modify the settings of the Sysadmin Panel.
3636

37-
# 08.py
37+
# [08-create-items-add-metadata.py]
3838

3939
Read a CSV file for samples, create them in the database with metadata, tags and links.
4040

41-
# 09-import-csv.py
41+
# [09-import-csv.py]
4242

4343
Read a CSV file containing a list of antibodies and import them in the resource database using the metadata/extra fields.
4444

45-
# 10-date-time-conversions.py
45+
# [10-date-time-conversions.py]
4646

4747
Work with date-time data formats with a demonstration of doing statistics with experiments data.
4848

49-
# 11-resources-categories.py
49+
# [11-resources-categories.py]
5050

5151
Create and edit a Resources Category (Items types).
52+
53+
[00-read-items.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/00-read-items.py
54+
[01-download-timestamp-archive.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/01-download-timestamp-archive.py
55+
[02-patch-metadata-per-category.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/02-patch-metadata-per-category.py
56+
[03-experiment-file-handling.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/03-experiment-file-handling.py
57+
[04-create-teamgroup-add-user.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/04-create-teamgroup-add-user.py
58+
[05-create-modify-item.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/05-create-modify-item.py
59+
[06-create-users.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/06-create-users.py
60+
[07-patch-sysadmin-settings.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/07-patch-sysadmin-settings.py
61+
[08-create-items-add-metadata.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/08-create-items-add-metadata.py
62+
[09-import-csv.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/09-import-csv.py
63+
[10-date-time-conversions.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/10-date-time-conversions.py
64+
[11-resources-categories.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/11-resources-categories.py
65+

0 commit comments

Comments
 (0)