sl-shared-assets 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sl-shared-assets might be problematic. Click here for more details.

sl_shared_assets/cli.py CHANGED
@@ -153,8 +153,9 @@ def generate_project_manifest_file(
153
153
  @click.option(
154
154
  "-rdp",
155
155
  "--raw_data_path",
156
- type=click.Path(exists=True, file_okay=False, dir_okay=True, path_type=Path),
156
+ type=str,
157
157
  required=True,
158
+ default="/storage/sun_data",
158
159
  help=(
159
160
  "The absolute path to the directory used to store raw data from all Sun lab projects, relative to the server "
160
161
  "root."
@@ -163,14 +164,17 @@ def generate_project_manifest_file(
163
164
  @click.option(
164
165
  "-pdp",
165
166
  "--processed_data_path",
166
- type=click.Path(exists=True, file_okay=False, dir_okay=True, path_type=Path),
167
+ type=str,
167
168
  required=True,
169
+ default="/workdir/sun_data",
168
170
  help=(
169
171
  "The absolute path to the directory used to store processed data from all Sun lab projects, relative to the "
170
172
  "server root."
171
173
  ),
172
174
  )
173
- def generate_server_credentials_file(output_directory: str, host: str, username: str, password: str) -> None:
175
+ def generate_server_credentials_file(
176
+ output_directory: str, host: str, username: str, password: str, raw_data_path: str, processed_data_path: str
177
+ ) -> None:
174
178
  """Generates a new server_credentials.yaml file under the specified directory, using input information.
175
179
 
176
180
  This command is used to set up access to compute servers and clusters on new machines (PCs). The data stored inside
@@ -178,7 +182,12 @@ def generate_server_credentials_file(output_directory: str, host: str, username:
178
182
  lab data processing libraries.
179
183
  """
180
184
  generate_server_credentials(
181
- output_directory=Path(output_directory), username=username, password=password, host=host
185
+ output_directory=Path(output_directory),
186
+ username=username,
187
+ password=password,
188
+ host=host,
189
+ raw_data_root=raw_data_path,
190
+ processed_data_root=processed_data_path,
182
191
  )
183
192
  message = (
184
193
  f"Server access credentials file: generated. If necessary, remember to edit the data acquisition system "
sl_shared_assets/cli.pyi CHANGED
@@ -36,7 +36,9 @@ def generate_project_manifest_file(
36
36
  between machines (as it is cached in a file).
37
37
  """
38
38
 
39
- def generate_server_credentials_file(output_directory: str, host: str, username: str, password: str) -> None:
39
+ def generate_server_credentials_file(
40
+ output_directory: str, host: str, username: str, password: str, raw_data_path: str, processed_data_path: str
41
+ ) -> None:
40
42
  """Generates a new server_credentials.yaml file under the specified directory, using input information.
41
43
 
42
44
  This command is used to set up access to compute servers and clusters on new machines (PCs). The data stored inside
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sl-shared-assets
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: Stores assets shared between multiple Sun (NeuroAI) lab data pipelines.
5
5
  Project-URL: Homepage, https://github.com/Sun-Lab-NBB/sl-shared-assets
6
6
  Project-URL: Documentation, https://sl-shared-assets-api-docs.netlify.app/
@@ -1,7 +1,7 @@
1
1
  sl_shared_assets/__init__.py,sha256=_AOpxu9K_0px_xS07H8mqZeYlBS9aD75XBS0dofJzqw,2280
2
2
  sl_shared_assets/__init__.pyi,sha256=H1kPervb1A2BjG5EOLsLFQGUWFS_aHWy4cpL4_W71Fs,2525
3
- sl_shared_assets/cli.py,sha256=Rk6Axt0v-274O9mvhPChRj6sQBbHOnkd1Lkc3adgvao,9090
4
- sl_shared_assets/cli.pyi,sha256=2zTqKYIJNV5cJkzOHTU2h4Hj0uUm-CiP-27vujgUaFI,3342
3
+ sl_shared_assets/cli.py,sha256=NCLV1C2fBojiZH6Qpl3UxOs4hvDWY2BsIVeGdr0JkyM,9183
4
+ sl_shared_assets/cli.pyi,sha256=_14EJZ8bkpdemITIBx7A7L26gC9HPV6o2EvcsL6CuSs,3394
5
5
  sl_shared_assets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  sl_shared_assets/data_classes/__init__.py,sha256=ixn972b-3URCinVLRPjMfDXpO2w24_NkEUUjdqByFrA,1890
7
7
  sl_shared_assets/data_classes/__init__.pyi,sha256=bDBLkyhlosB4t09GxHBNKH0kaVBhHSY_j-i3MD2iKVo,2088
@@ -29,8 +29,8 @@ sl_shared_assets/tools/project_management_tools.py,sha256=HatI5QmzUbUMI6MmKiqzyl
29
29
  sl_shared_assets/tools/project_management_tools.pyi,sha256=kteTbOom4KVm9Eem1WhmUZw54MOheUTkFQzOPIvV0vw,7731
30
30
  sl_shared_assets/tools/transfer_tools.py,sha256=J26kwOp_NpPSY0-xu5FTw9udte-rm_mW1FJyaTNoqQI,6606
31
31
  sl_shared_assets/tools/transfer_tools.pyi,sha256=FoH7eYZe7guGHfPr0MK5ggO62uXKwD2aJ7h1Bu7PaEE,3294
32
- sl_shared_assets-2.0.0.dist-info/METADATA,sha256=j83QXlX_oIZ7npkT9zpZUfrrGEGXnJui3R2RJvMz09o,49356
33
- sl_shared_assets-2.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
- sl_shared_assets-2.0.0.dist-info/entry_points.txt,sha256=356d5zNg2v3hil8K7VGen6nDHggdDP-LY7zKJmB8ExI,305
35
- sl_shared_assets-2.0.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
36
- sl_shared_assets-2.0.0.dist-info/RECORD,,
32
+ sl_shared_assets-2.0.1.dist-info/METADATA,sha256=GAA4ZhJrwOvTH2JEXC3uCZF0GIP4tfkjDxEbmZNdkG8,49356
33
+ sl_shared_assets-2.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
+ sl_shared_assets-2.0.1.dist-info/entry_points.txt,sha256=356d5zNg2v3hil8K7VGen6nDHggdDP-LY7zKJmB8ExI,305
35
+ sl_shared_assets-2.0.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
36
+ sl_shared_assets-2.0.1.dist-info/RECORD,,