File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ contributions:
3333 - id : synapse_net.sample_data_tem_tomo
3434 python_name : synapse_net.sample_data:sample_data_tem_tomo
3535 title : Load TEM Tomo sample data
36+ - id : synapse_net.sample_data_tomo_small
37+ python_name : synapse_net.sample_data:sample_data_tomo_small
38+ title : Load small tomo sample data
39+ - id : synapse_net.sample_data_mito_small
40+ python_name : synapse_net.sample_data:sample_data_mito_small
41+ title : Load TEM Tomo sample data
3642
3743 readers :
3844 - command : synapse_net.file_reader
@@ -61,3 +67,9 @@ contributions:
6167 - command : synapse_net.sample_data_tem_tomo
6268 display_name : TEM Tomo Sample Data
6369 key : synapse-net-tem-tomo
70+ - command : synapse_net.sample_data_tomo_small
71+ display_name : Small Tomo Sample Data
72+ key : synapse-net-tomo-small
73+ - command : synapse_net.sample_data_mito_small
74+ display_name : Small Mito Sample Data
75+ key : synapse-net-mito-small
Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ def get_sample_data(name: str) -> str:
1717 registry = {
1818 "tem_2d.mrc" : "3c6f9ff6d7673d9bf2fd46c09750c3c7dbb8fa1aa59dcdb3363b65cc774dcf28" ,
1919 "tem_tomo.mrc" : "fe862ce7c22000d4440e3aa717ca9920b42260f691e5b2ab64cd61c928693c99" ,
20+ "tomo_small.mrc" : "057b214777157682e220958e7ca5c90104eada67210a5589572134ac0d8d177f" ,
21+ "mito_small.mrc" : "643534ac080f13a4ba8c9f12f5ea59442cb6d1e7ae1a5aec5ea98b7ae9ab45cc" ,
2022 }
2123 urls = {
2224 "tem_2d.mrc" : "https://owncloud.gwdg.de/index.php/s/5sAQ0U4puAspcHg/download" ,
2325 "tem_tomo.mrc" : "https://owncloud.gwdg.de/index.php/s/FJDhDfbT4UxhtOn/download" ,
26+ "tomo_small.mrc" : "https://owncloud.gwdg.de/index.php/s/03NvEuIye08kkkL/download" ,
27+ "mito_small.mrc" : "https://owncloud.gwdg.de/index.php/s/TUhvVMrA7GE8sJv/download" ,
2428 }
2529 key = f"{ name } .mrc"
2630
@@ -55,6 +59,14 @@ def sample_data_tem_tomo():
5559 return _sample_data ("tem_tomo" )
5660
5761
62+ def sample_data_tomo_small ():
63+ return _sample_data ("tomo_small" )
64+
65+
66+ def sample_data_mito_small ():
67+ return _sample_data ("mito_small" )
68+
69+
5870def download_data_from_zenodo (path : str , name : str ):
5971 """Download data uploaded for the SynapseNet manuscript from zenodo.
6072
You can’t perform that action at this time.
0 commit comments