From 86a29c5a56be629f3d95f2441ff260da73d320b3 Mon Sep 17 00:00:00 2001 From: Jordan Kiang Date: Wed, 8 Jul 2020 11:10:49 -0700 Subject: [PATCH 1/5] v2.1.1 news update --- docs/news.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/news.rst b/docs/news.rst index 8aae8a27c..689e1acd5 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -2,6 +2,30 @@ Release Notes ============= +2.1.1 (2020-07-09) +================== + +Highlights: +---------------- + +This version primarily includes a performance improvement for **syncFromSynapse** downloads +of deep folder hierarchies to local filesystem locations outside of the Synapse cache. + +Bug +--- + +- [`SYNPY-1075 `__] - + Error in Python test (submission annotations) +- [`SYNPY-1076 `__] - + Upgrade/fix Pandas dependency + +Improvement +----------- + +- [`SYNPY-1078 `__] - + Improve syncFromSynapse performance for large folder structures synced to external paths + + 2.1.0 (2020-06-16) ================== From aaf5310aa1bb2c5d97eaa3605950fe4da82ad4d0 Mon Sep 17 00:00:00 2001 From: Jordan Kiang Date: Thu, 9 Jul 2020 09:24:58 -0700 Subject: [PATCH 2/5] +submission views to news --- docs/news.rst | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/news.rst b/docs/news.rst index 689e1acd5..4b75cff66 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -2,14 +2,26 @@ Release Notes ============= -2.1.1 (2020-07-09) +2.1.1 (2020-07-10) ================== Highlights: ---------------- -This version primarily includes a performance improvement for **syncFromSynapse** downloads -of deep folder hierarchies to local filesystem locations outside of the Synapse cache. +- This version includes a performance improvement for **syncFromSynapse** downloads + of deep folder hierarchies to local filesystem locations outside of the Synapse cache. + +- Support is added for **SubmissionViews** that can be used to query and edit + a set of submissions through table services. + + .. code-block:: python + + from synapseclient import SubmissionViewSchema + + project_or_folder = syn.get("syn123") + evaluation_id = '9876543' + view = syn.store(SubmissionViewSchema(name='My Submission View', parent=project_or_folder, scopes=[evaluation_id])) + view_table = syn.tableQuery(f"select * from {view.id}") Bug --- @@ -22,6 +34,8 @@ Bug Improvement ----------- +- [`SYNPY-1070 `__] - + Add support for submission views - [`SYNPY-1078 `__] - Improve syncFromSynapse performance for large folder structures synced to external paths From dda6dd3ba668a755db117cc0937892d959d5a6a8 Mon Sep 17 00:00:00 2001 From: Jordan Kiang Date: Thu, 9 Jul 2020 11:53:39 -0700 Subject: [PATCH 3/5] submission views parents are projects --- docs/news.rst | 4 ++-- synapseclient/table.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/news.rst b/docs/news.rst index 4b75cff66..e1c0dbb91 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -18,9 +18,9 @@ Highlights: from synapseclient import SubmissionViewSchema - project_or_folder = syn.get("syn123") + project = syn.get("syn123") evaluation_id = '9876543' - view = syn.store(SubmissionViewSchema(name='My Submission View', parent=project_or_folder, scopes=[evaluation_id])) + view = syn.store(SubmissionViewSchema(name='My Submission View', parent=project, scopes=[evaluation_id])) view_table = syn.tableQuery(f"select * from {view.id}") Bug diff --git a/synapseclient/table.py b/synapseclient/table.py index 276b07ea3..9489f4065 100644 --- a/synapseclient/table.py +++ b/synapseclient/table.py @@ -908,7 +908,7 @@ class SubmissionViewSchema(ViewBase): Example:: from synapseclient import SubmissionViewSchema - project_or_folder = syn.get("syn123") + project = syn.get("syn123") schema = syn.store(SubmissionViewSchema(name='My Submission View', parent=project, scopes=['9614543'])) """ From 347a3904f15d4fa61717d6181ebe02fb49d8d160 Mon Sep 17 00:00:00 2001 From: Jordan Kiang Date: Fri, 10 Jul 2020 13:42:20 -0700 Subject: [PATCH 4/5] link cache and syncFromSynapse per feedback --- docs/news.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/news.rst b/docs/news.rst index e1c0dbb91..101637c20 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -8,8 +8,10 @@ Release Notes Highlights: ---------------- -- This version includes a performance improvement for **syncFromSynapse** downloads - of deep folder hierarchies to local filesystem locations outside of the Synapse cache. +- This version includes a performance improvement for + `syncFromSynapse `__ + downloads of deep folder hierarchies to local filesystem locations outside of the + `Synapse cache `__. - Support is added for **SubmissionViews** that can be used to query and edit a set of submissions through table services. From 19691fb3d47b756ebd20e775b7f50f78895c86e5 Mon Sep 17 00:00:00 2001 From: Jordan Kiang Date: Fri, 10 Jul 2020 13:44:50 -0700 Subject: [PATCH 5/5] fully qualified url --- docs/news.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/news.rst b/docs/news.rst index 101637c20..643a4d8cf 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -9,7 +9,7 @@ Highlights: ---------------- - This version includes a performance improvement for - `syncFromSynapse `__ + `syncFromSynapse `__ downloads of deep folder hierarchies to local filesystem locations outside of the `Synapse cache `__.