Select corresponding path

operators.sys.select_corresponding_path(client, original_file='path.txt', original_identifier_file='idx.txt', corresponding_file='cor.txt', output_file='res.txt', selection_criteria='oldest', default_value='__original__', instance_type='x2large')

select_corresponding_path( client,
original_file=’path.txt’,
original_identifier_file=’idx.txt’,
corresponding_file=’cor.txt’,
output_file=’res.txt’,
selection_criteria=’oldest’,
default_value=’__original__’,
instance_type=’x2large’ )
Parameters:
  • original_file – original paths

  • original_identifier_file – original identifiers

  • corresponding_file – corresponding paths

  • output_file – output file

  • selection_criteria – selection criteria: [oldest, newest, shortest, longest]

  • default_value – default value if no corresponding path is found

  • instance_type – type of cloud instance used for processing