Skip to content
Snippets Groups Projects
Commit a9d6be89 authored by George Marchment's avatar George Marchment
Browse files

FIX: fix problem remove "\\" -> with the residu "\" -> i don't know why it...

FIX: fix problem remove "\\" -> with the residu "\" -> i don't know why it does that -> "nf-core/imcyto" has that
parent a31de36a
No related branches found
No related tags found
No related merge requests found
Pipeline #14285 failed with stage
in 2 minutes and 35 seconds
......@@ -16,6 +16,7 @@ class Code:
#I do this just to avoid out of file problems later on
self.code = '\n'+self.code+'\n'
self.code_wo_comments = remove_comments(self.code)
self.code_wo_comments = re.sub(constant.DOUBLE_BACKSLAPSH_JUMP, ' ', self.code_wo_comments)
self.code_wo_comments = re.sub(constant.BACKSLAPSH_JUMP, ' ', self.code_wo_comments)
self.code_wo_comments = self.code_wo_comments.replace("||", "$OR$")
......
......@@ -75,6 +75,7 @@ HEADER_FUNCTION = r"(def)\s*(\w+)\s*\([^,)]*(,[^,)]+)*\)\s*{"
# GENERAL
#--------------------------
DOUBLE_BACKSLAPSH_JUMP = r"\\\\\s*\n\s*"
BACKSLAPSH_JUMP = r"\\\s*\n\s*"
JUMP_DOT = r"\s*\n\s*\."
NUMBER = r"\d+"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment