Fixed bug, causing input_path normalization operation to damage Windows network drive paths. Basically, os.path.normpath(path_to_input_directory).strip(os.sep) replaced by os.path.normpath(path_to_input_directory).rstrip(os.sep)
This commit is contained in:
@ -131,7 +131,7 @@ def create_hdf5_file_from_filesystem_path(path_to_input_directory: str,
|
||||
raise ValueError('path_to_input_directory needs to be specified using forward slashes "/".' )
|
||||
|
||||
#path_to_output_directory = os.path.join(path_to_input_directory,'..')
|
||||
path_to_input_directory = os.path.normpath(path_to_input_directory).strip(os.sep)
|
||||
path_to_input_directory = os.path.normpath(path_to_input_directory).rstrip(os.sep)
|
||||
|
||||
|
||||
for i, keyword in enumerate(select_dir_keywords):
|
||||
|
Reference in New Issue
Block a user