From fd3aed6eb51c4e8c070d1c1cf16db85a4a12c933 Mon Sep 17 00:00:00 2001 From: Robert Bossy <Robert.Bossy@inra.fr> Date: Thu, 13 Jul 2023 11:23:42 +0200 Subject: [PATCH] fixed indentation --- resources/saturate.yaml | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/resources/saturate.yaml b/resources/saturate.yaml index cca283f..51755f6 100644 --- a/resources/saturate.yaml +++ b/resources/saturate.yaml @@ -1,10 +1,10 @@ - name_type: genre name abbreviation pattern: (?!Phage|Bacteriophage)([A-Z])[a-z]+ ((?!group|phage|bacteriophage)[a-z]+) replacements: - - '{1}. {2}' - - '{1} {2}' - - '{1}.{2}' - - '{1} . {2}' + - '{1}. {2}' + - '{1} {2}' + - '{1}.{2}' + - '{1} . {2}' - name_type: specific name case pattern: ([A-Z][a-z]+) ([a-z])([a-z]+) replacements: @@ -12,69 +12,69 @@ - name_type: dash-space replacement pattern: ([^-]*)-(.*) replacements: - - '{1} {2}' + - '{1} {2}' - name_type: author name variation pattern: (.*) [(]?([A-Z]\w+), (\d{4})[)]? replacements: - - '{1} {2}' - - '{1} ({2})' + - '{1} {2}' + - '{1} ({2})' - name_type: common name plural and case name_type_restriction: - - common name + - common name pattern: ([A-Z])([a-z]*[ao]) replacements: - - '{1!l}{2}' - - '{1!l}{2}s' - - '{1}{2}s' + - '{1!l}{2}' + - '{1!l}{2}s' + - '{1}{2}s' - name_type: common name singular and case name_type_restriction: - - common name + - common name pattern: ([A-Z])([a-z]*)s replacements: - - '{1}{2}' - - '{1!l}{2}' - - '{1!l}{2}s' + - '{1}{2}' + - '{1!l}{2}' + - '{1!l}{2}s' - name_type: join strain number pattern: ([A-Z]+) (\d+) replacements: - - '{1}{2}' - - '{1}-{2}' + - '{1}{2}' + - '{1}-{2}' - name_type: join strain number pattern: ([A-Z]+)-(\d+) replacements: - - '{1}{2}' - - '{1} {2}' + - '{1}{2}' + - '{1} {2}' - name_type: join strain number pattern: ([A-Z]+)(\d+) replacements: - - '{1}-{2}' - - '{1} {2}' + - '{1}-{2}' + - '{1} {2}' - name_type: pathovar expansion pattern: ([A-Z][a-z]+ [a-z]+) pv. ([a-z]+) replacements: - - '{1} pathovar {2}' + - '{1} pathovar {2}' - name_type: pathovar expansion and genre name abbreviation pattern: ([A-Z])[a-z]+ ([a-z]+) pv. ([a-z]+) replacements: - - '{1}. {2} pathovar {3}' - - '{1} {2} pathovar {3}' - - '{1}.{2} pathovar {3}' - - '{1} . {2} pathovar {3}' + - '{1}. {2} pathovar {3}' + - '{1} {2} pathovar {3}' + - '{1}.{2} pathovar {3}' + - '{1} . {2} pathovar {3}' - name_type: genre name abbreviation and join strain number pattern: ([A-Z])[a-z]+ ([a-z]+) ([A-Z]+)[ -]?(\d+) replacements: - - '{1}. {2} {3}{4}' - - '{1} {2} {3}{4}' - - '{1}.{2} {3}{4}' - - '{1} . {2} {3}{4}' - - '{1}. {2} {3}-{4}' - - '{1} {2} {3}-{4}' - - '{1}.{2} {3}-{4}' - - '{1} . {2} {3}-{4}' - - '{1}. {2} {3} {4}' - - '{1} {2} {3} {4}' - - '{1}.{2} {3} {4}' - - '{1} . {2} {3} {4}' + - '{1}. {2} {3}{4}' + - '{1} {2} {3}{4}' + - '{1}.{2} {3}{4}' + - '{1} . {2} {3}{4}' + - '{1}. {2} {3}-{4}' + - '{1} {2} {3}-{4}' + - '{1}.{2} {3}-{4}' + - '{1} . {2} {3}-{4}' + - '{1}. {2} {3} {4}' + - '{1} {2} {3} {4}' + - '{1}.{2} {3} {4}' + - '{1} . {2} {3} {4}' - name_type: infuenza virus case pattern: Influenza A virus replacements: -- GitLab