Skip to content

Commit

Permalink
Update transform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Priour authored Aug 6, 2023
1 parent 20d898d commit dcdf626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
matchCS = re.match(r'CodeSystem-(.*)\.xml$', filename)
if matchCS:
matchedValue = matchCS.group(1)
output = executable.transform_to_file(source_file=dir_path +"\\" +filename, stylesheet_file=xsl_file, output_file=dir_path+ "/NOS/" +'CodeSystem-'+matchedValue +"-svs.xml")
output = executable.transform_to_file(source_file=dir_path +"/" +filename, stylesheet_file=xsl_file, output_file=dir_path+ "/NOS/" +'CodeSystem-'+matchedValue +"-svs.xml")
print(matchedValue)
matchCS = re.match(r'ValueSet-(.*)\.xml$', filename)
if matchCS:
matchedValue = matchCS.group(1)
output = executable.transform_to_file(source_file=dir_path +"\\" +filename, stylesheet_file=xsl_file, output_file=dir_path+ "/NOS/" +'ValueSet-'+matchedValue +"-svs.xml")
output = executable.transform_to_file(source_file=dir_path +"/" +filename, stylesheet_file=xsl_file, output_file=dir_path+ "/NOS/" +'ValueSet-'+matchedValue +"-svs.xml")
print(matchedValue)

0 comments on commit dcdf626

Please sign in to comment.