diff --git a/doc/src/tutorial-ids.rst b/doc/src/tutorial-ids.rst index 4a76fdf..4f587b8 100644 --- a/doc/src/tutorial-ids.rst +++ b/doc/src/tutorial-ids.rst @@ -54,7 +54,9 @@ We need a dataset in ICAT that the uploaded files should be put into, so let's create one:: >>> from icat.query import Query - >>> query = Query(client, "Investigation", conditions=[("name", "= '12100409-ST'")]) + >>> query = Query(client, "Investigation", conditions=[ + ... ("name", "= '12100409-ST'") + ... ]) >>> investigation = client.assertedSearch(query)[0] >>> dataset = client.new("Dataset") >>> dataset.investigation = investigation diff --git a/doc/tutorial/ids.py b/doc/tutorial/ids.py index c525f85..8ab7c21 100644 --- a/doc/tutorial/ids.py +++ b/doc/tutorial/ids.py @@ -13,7 +13,9 @@ # -------------------- from icat.query import Query -query = Query(client, "Investigation", conditions=[("name", "= '12100409-ST'")]) +query = Query(client, "Investigation", conditions=[ + ("name", "= '12100409-ST'") +]) investigation = client.assertedSearch(query)[0] dataset = client.new("Dataset") dataset.investigation = investigation