httomo_backends.scripts.yaml_unsupported_tomopy_remove

httomo_backends.scripts.yaml_unsupported_tomopy_remove#

After _all_ templates have been generated for TomoPy we need to remove the ones that are not currently supported by httomo. We do that by looking into the library file for TomoPy.

httomo_backends.scripts.yaml_unsupported_tomopy_remove.get_args()[source]#
httomo_backends.scripts.yaml_unsupported_tomopy_remove.templates_filter(path_to_modules: str, library_file: str) int[source]#

function that removes unsupported by httomo YAML templates in TomoPy

Parameters:
  • path_to_modules (str) – path to the list of modules yaml file

  • library_file (str) – path to the library with the supported functions of TomoPy

Returns:

returns zero if the processing is succesfull

Return type:

int