tomwer.io.utils.utils#

contains utils for inputs and outputs

Functions

format_stderr_stdout(stdout, stderr[, config])

get_default_directory()

return:

default directory where to open a QFolder dialdg for example

get_linked_files_with_entry(hdf5_file, entry)

parse all datasets under the entry and look for connections with external files (vds or ExternalLink)

get_linked_files_with_vds(hdf5_file, ...)

parse all virtual sources of a virtual dataset and return a set of files / dataset connected to it

get_slice_data(url)

Return data from an url

str_to_dict(my_str)

convert a string as key_1=value_2;key_2=value_2 to a dict