@@ -65,13 +65,16 @@ def read(self, swc_pointer):
6565
6666 Parameters
6767 ----------
68- swc_pointer : dict, list, str
68+ swc_pointer : str or List[ str]
6969 Object that points to SWC files to be read, must be one of:
70- - swc_dir (str): Path to directory containing SWC files.
7170 - swc_path (str): Path to single SWC file.
72- - swc_path_list (List[str]): List of paths to SWC files.
73- - swc_zip (str): Path to a ZIP archive containing SWC files.
74- - swc_zip_dir (str): Path to directory of ZIPs with SWC files.
71+ - swc_dir_path (str): Path to local directory containing SWC files.
72+ - swc_zip_path (str): Path to a local ZIP archive containing SWC files.
73+ - swc_zip_dir_path (str): Path to a local directory of ZIPs with SWC files.
74+ - swc_s3_dir_path (str): Path to S3 directory containing SWC files.
75+ - swc_gcs_dir_path (str): Path to GCS directory containing SWC files.
76+ - swc_gcs_zip_dir_path (str): Path to GCS directory containing ZIP archives of SWC files.
77+ - swc_path_list (List[str]): List of paths to local SWC files.
7578
7679 Returns
7780 -------
@@ -287,7 +290,7 @@ def read_from_gcs(self, gcs_path):
287290 Returns
288291 -------
289292 Dequeue[dict]
290- List of dictionaries whose keys and values are the attribute
293+ Dictionaries whose keys and values are the attribute
291294 names and values from an SWC file.
292295 """
293296 # List filenames
@@ -317,7 +320,7 @@ def read_from_gcs_swcs(self, bucket_name, swc_paths):
317320 Returns
318321 -------
319322 Dequeue[dict]
320- List of dictionaries whose keys and values are the attribute
323+ Dictionaries whose keys and values are the attribute
321324 names and values from an SWC file.
322325 """
323326 pbar = tqdm (total = len (swc_paths ), desc = "Read SWCs" )
@@ -376,7 +379,7 @@ def read_from_gcs_zips(self, bucket_name, zip_paths):
376379 Returns
377380 -------
378381 Dequeue[dict]
379- List of dictionaries whose keys and values are the attribute
382+ Dictionaries whose keys and values are the attribute
380383 names and values from an SWC file.
381384 """
382385 swc_dicts = deque ()
@@ -397,7 +400,7 @@ def read_from_gcs_zip(self, bucket_name, path):
397400 Returns
398401 -------
399402 Dequeue[dict]
400- List of dictionaries whose keys and values are the attribute
403+ Dictionaries whose keys and values are the attribute
401404 names and values from an SWC file.
402405 """
403406 # Initialize cloud reader
0 commit comments