MCPcopy Create free account
hub / github.com/Moduland/csv2vcf / zero_insert

Function zero_insert

csv2vcf/VCF.py:7–17  ·  view source on GitHub ↗

This function get a string as input if input is one digit add a zero :param input_string: input digit az string :type input_string:str :return: modified output as str

(input_string)

Source from the content-addressed store, hash-verified

5name_dict={}
6unknown_index=0
7def zero_insert(input_string):
8
9 '''
10 This function get a string as input if input is one digit add a zero
11 :param input_string: input digit az string
12 :type input_string:str
13 :return: modified output as str
14 '''
15 if len(input_string)==1:
16 return "0"+input_string
17 return input_string
18
19def time_convert(input_data):
20 '''

Callers 1

time_convertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected