Skip to content

Commit

Permalink
link example files in example readme (#16)
Browse files Browse the repository at this point in the history
* link example files in example readme

* rename example files
  • Loading branch information
Cs137 authored Jan 11, 2024
1 parent e7cc187 commit 8c6346e
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 26 additions & 12 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,64 @@

Work in progress!

# 00.py
# [00-read-items.py]

Read all items.

# 01.py
# [01-download-timestamp-archive.py]

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

# 02.py
# [02-patch-metadata-per-category.py]

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

# 03.py
# [03-experiment-file-handling.py]

Upload, download and delete a file in an experiment.

# 04.py
# [04-create-teamgroup-add-user.py]

Create a teamgroup and add a user in it.

# 05.py
# [05-create-modify-item.py]

Create an item in the database and modify it.

# 06.py
# [06-create-users.py]

Create users in batch.

# 07.py
# [07-patch-sysadmin-settings.py]

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

# 08.py
# [08-create-items-add-metadata.py]

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

# 09-import-csv.py
# [09-import-csv.py]

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

# 10-date-time-conversions.py
# [10-date-time-conversions.py]

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

# 11-resources-categories.py
# [11-resources-categories.py]

Create and edit a Resources Category (Items types).

[00-read-items.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/00-read-items.py
[01-download-timestamp-archive.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/01-download-timestamp-archive.py
[02-patch-metadata-per-category.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/02-patch-metadata-per-category.py
[03-experiment-file-handling.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/03-experiment-file-handling.py
[04-create-teamgroup-add-user.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/04-create-teamgroup-add-user.py
[05-create-modify-item.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/05-create-modify-item.py
[06-create-users.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/06-create-users.py
[07-patch-sysadmin-settings.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/07-patch-sysadmin-settings.py
[08-create-items-add-metadata.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/08-create-items-add-metadata.py
[09-import-csv.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/09-import-csv.py
[10-date-time-conversions.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/10-date-time-conversions.py
[11-resources-categories.py]: https://github.com/elabftw/elabapi-python/blob/master/examples/11-resources-categories.py

0 comments on commit 8c6346e

Please sign in to comment.