File tree Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
1
# DataLab Simple Client Releases #
2
2
3
+ ## Version 0.8.0 ##
4
+
5
+ DataLab Simple Client is fully compatible with ** DataLab 0.11.0** and above.
6
+ With older versions of the DataLab server, some features may not work.
7
+
8
+ 💥 Changes:
9
+
10
+ * Added ` keep_roi ` argument to ` SimpleRemoteProxy.delete_metadata ` method
11
+
3
12
## Version 0.7.0 ##
4
13
5
14
DataLab Simple Client is fully compatible with ** DataLab 0.10.0** and above.
Original file line number Diff line number Diff line change 17
17
from cdlclient .baseproxy import SimpleBaseProxy # noqa: F401
18
18
from cdlclient .remote import SimpleRemoteProxy # noqa: F401
19
19
20
- __version__ = "0.7 .0"
21
- __required_server_version__ = "0.10 .0"
20
+ __version__ = "0.8 .0"
21
+ __required_server_version__ = "0.11 .0"
22
22
__docurl__ = "https://cdlclient.readthedocs.io/en/latest/"
23
23
__homeurl__ = "https://github.com/Codra-Ingenierie-Informatique/DataLabSimpleClient/"
Original file line number Diff line number Diff line change @@ -275,11 +275,14 @@ def select_groups(
275
275
"""
276
276
277
277
@abc .abstractmethod
278
- def delete_metadata (self , refresh_plot : bool = True ) -> None :
278
+ def delete_metadata (
279
+ self , refresh_plot : bool = True , keep_roi : bool = False
280
+ ) -> None :
279
281
"""Delete metadata of selected objects
280
282
281
283
Args:
282
- refresh_plot (bool | None): Refresh plot. Defaults to True.
284
+ refresh_plot: Refresh plot. Defaults to True.
285
+ keep_roi: Keep ROI. Defaults to False.
283
286
"""
284
287
285
288
@abc .abstractmethod
@@ -607,13 +610,16 @@ def select_groups(
607
610
"""
608
611
self ._cdl .select_groups (selection , panel )
609
612
610
- def delete_metadata (self , refresh_plot : bool = True ) -> None :
613
+ def delete_metadata (
614
+ self , refresh_plot : bool = True , keep_roi : bool = False
615
+ ) -> None :
611
616
"""Delete metadata of selected objects
612
617
613
618
Args:
614
- refresh_plot (bool | None): Refresh plot. Defaults to True.
619
+ refresh_plot: Refresh plot. Defaults to True.
620
+ keep_roi: Keep ROI. Defaults to False.
615
621
"""
616
- self ._cdl .delete_metadata (refresh_plot )
622
+ self ._cdl .delete_metadata (refresh_plot , keep_roi )
617
623
618
624
def get_group_titles_with_object_infos (
619
625
self ,
You can’t perform that action at this time.
0 commit comments