Bertrand Benjamin
cd2fdc162e
All checks were successful
continuous-integration/drone/push Build is passing
15 lines
274 B
Python
15 lines
274 B
Python
def template2source(template: str, metadatas: dict):
|
|
return metadatas["number"] + template[3:]
|
|
|
|
|
|
def corr(source):
|
|
return "corr_" + source
|
|
|
|
|
|
def source2pdf(source):
|
|
return source[:-4] + ".pdf"
|
|
|
|
|
|
def join(template):
|
|
return source2pdf("joined" + template[3:])
|