graphorge.gnn_base_model.data.graph_data.new_file_path_with_int

new_file_path_with_int(file_path)[source]

Generate new and non-existent file path by extending with an integer.

Parameters:

file_path (str) – File path.

Returns:

new_file_path – File path extended with an integer.

Return type:

str