From 25f128aa3d01a84034544800fcf565c2d4d57c89 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 23 Apr 2020 14:23:56 +0200 Subject: [PATCH] updated import of vendor replacements --- ordr3/scripts/migrate_db.py | 98 ++++++++++++++++++++++--------------- 1 file changed, 59 insertions(+), 39 deletions(-) diff --git a/ordr3/scripts/migrate_db.py b/ordr3/scripts/migrate_db.py index 3eba878..624a796 100644 --- a/ordr3/scripts/migrate_db.py +++ b/ordr3/scripts/migrate_db.py @@ -28,14 +28,18 @@ vendor_map = { "analytics-shop.com": ["analytics-shop"], "architekturbedarf.de": ["architekturbedarf"], "Avanti Polar Lipids": ["avanti"], - "Biesterfeld Spezialchemie GmbH": ["biesterfeld", "biesterfeld gmbh"], + "Biesterfeld Spezialchemie": [ + "biesterfeld", + "biesterfeld gmbh", + "biesterfeld spezialchemie gmbh", + ], "Bio-Rad": ["bio rad"], "Biocat": [], - "Bioleague GmbH & co.kg": ["bioleague"], + "Bioleague": ["Bioleague GmbH & co.Kg", "bioleague gmbh"], "Biomol": [], "Bürkert Indelfingen": ["bürkert"], - "Carl Roth GmbH": [ - "carl roth", + "Carl Roth": [ + "carl roth gmbh", "carl-roth", "carlroth", "cr", @@ -43,7 +47,7 @@ vendor_map = { "roth", ], "Cellsystems Biotech": ["cellsystems"], - "Chemicell GmbH": ["chemicell"], + "Chemicell": ["chemicell gmbh"], "Clickbox e.k.": ["clickbox"], "Cole Parmer": ["coleparmer"], "Conrad Electronics": [ @@ -51,14 +55,17 @@ vendor_map = { "conrad electronic", "conrad, fax 09604408937, k-nr 6043142", ], - "Cytoskeleton inc": ["cytoskeleton"], - "Daniel Maas Dichtstoffhandel & Co.": ["daniel maas"], - "Delta Mask b.v.": ["delta mask", "deltamask"], + "Cytoskeleton": ["cytoskeleton inc"], + "Daniel Maas Dichtstoffhandel": [ + "daniel maas", + "daniel maas dichtstoffhandel & co.", + ], + "Delta Mask": ["delta mask b.v.", "deltamask"], "der-rollende-shop.de": ["der-rollende-shop"], "Dianova": [], "Distrelec": ["distrilec"], - "Edmund Optics GmbH": ["edmund optics", "edmund"], - "Faust Lab Science GmbH": ["faust", "faust lab"], + "Edmund Optics": ["edmund optics gmbh", "edmund"], + "Faust Lab Science": ["faust", "faust lab", "faust lab science gmbh"], "Fisher Scientific": [ "fischer scientific", "fisher scientific/acros organic", @@ -72,15 +79,25 @@ vendor_map = { "glasbläser", ], "Goodfellow": ["good fellow"], - "Greiner Bio-One": ["greiner bio one"], + "Greiner Bio-One": [ + "greiner bio one", + "greiner", + "greiner bio", + "greiner bioone", + ], "Hach": [], - "Hellma GmbH & Co KG": [ + "Hellma GmbH": [ "hellma analytics", "hellma optics", "hellma optik jena", + "hellma gmbh & co kg", + ], + "Hiss dx": ["hiss", "hiss-dx"], + "HJ-Bioanalytik": [ + "hj bioanalytik gmbh", + "hj bioanalytik", + "hj-bioanalytik gmbh", ], - "Hiss dx": ["hiss"], - "HJ-Bioanalytik GmbH": ["hj bioanalytik gmbh", "hj bioanalytik"], "laborhandel24.de": ["laborhandel24"], "locheisen.com": ["locheisen"], "praezisionsmesstechnik.de": ["praezisionsmesstechnik"], @@ -93,17 +110,20 @@ vendor_map = { "ionic liquids technologies", "iolitec ionic liquids technologies", ], - "Iris Biotech GmbH": ["iris biotech"], + "Iris Biotech": ["iris biotech gmbh"], "Ismatec": ["ismatec/idex"], "Jackson Immunoresearch": ["jacksonimmuno", "jackson"], - "Kinesis Abimed": ["kinesis", "kinesisgmbh"], - "Kisker Biotech GmbH & co. kg": ["kisker"], - "Knick Elektronische Messgeräte GmbH": ["knick"], + "Kinesis Abimed": ["kinesis", "kinesisgmbh", "abimed"], + "Kisker Biotech": ["kisker", "kisker biotech gmbh & co. kg"], + "Knick Elektronische Messgeräte": [ + "knick", + "knick elektronische messgeräte gmbh", + ], "Kummer Laborbedarf": ["kummer"], "Laborhandel Krumpholz": ["krumpholz"], "leuchtmittelmarkt.com": ["leuchtmittelmarkt"], - "Life Sciences Advanced Technologies inc": [ - "life sciences advanced technologies", + "Life Sciences Advanced Technologies": [ + "life sciences advanced technologies inc", ], "Life Technologies": ["lifetechnologies", "ife technologies"], "Macherey Nagel": ["m-n", "mn", "macherey-nagel"], @@ -115,34 +135,33 @@ vendor_map = { "merck berufskleidung", "merck-berufsbekleidung", ], - "Merck millipore inc.": ["merck millipore", "merckmillipore"], - "Mettler-Toledo GmbH": ["mettler toledo", "mettler-toledo", "mettler"], - "Micro Particles GmbH": ["micro particles"], - "Microdyn-Nadir GmbH": ["microdyn-nadir"], - "Millipore GmbH": ["millipore"], + "Merck Millipore inc.": ["merck millipore", "merckmillipore", "millipore"], + "Mettler-Toledo": ["mettler toledo", "mettler-toledo gmbh", "mettler"], + "Micro Particles": ["micro particles gmbh"], + "Microdyn-Nadir": ["microdyn-nadir gmbh"], "Molecular Devices / Genetix": ["molecular devices", "genetix"], - "Nanoandmore GmbH": ["nano-and-more", "nanoandmore"], - "Nanocyl s.a.": ["nanocyl"], + "Nanoandmore": ["nano-and-more", "nanoandmore gmbh"], + "Nanocyl": ["nanocyl s.a."], "Neo Lab": ["neolab"], "Newport Spectra-Physics": ["newport"], - "OCO Ortenauer Gase GmbH": ["oco ortenauer gase", "oco"], + "OCO Ortenauer Gase": ["oco ortenauer gase gmbh", "oco"], "Pall Corporation": ["pall"], "Plano GmbH": ["plano", "plano-eu", "plano-em"], - "Polyan GmbH": ["polyan"], - "Polyscience Europa GmbH": [ + "Polyan": ["polyan gmbh"], + "Polyscience Europe": [ "polysciences", "polysciences europe gmbh", "polysciences, inc.", ], - "ProLiquid GmbH": ["pro-liquid"], + "ProLiquid": ["pro-liquid", "proliquid gmbh"], "Qiagen": ["quiagen"], "R&D Systems": ["r&d system"], "Reichelt Elektronik": ["reichelt"], "RS Components": ["rs"], "S-Polytec": ["s-polytech"], - "Sarstedt AG & Co. KG": ["sarstedt"], - "Science Services GmbH": ["science services"], - "Scienion AG": ["scienion"], + "Sarstedt": ["sarstedt ag & co. kg"], + "Science Services": ["science services gmbh"], + "Scienion": ["scienion ag"], "Sigma Aldrich": [ "aldrich", "adrich", @@ -168,11 +187,11 @@ vendor_map = { "Sterlitech": [], "Supermagnete": ["supermagnet"], "taq-dna.com": ["taq-dna"], - "TCI Deutschland GmbH": [ + "TCI Deutschland": [ "tci", "tci chemical", "tci chemicals", - "tci deutschland", + "tci deutschland gmbh", "tci europe", "tci europe n.v.", ], @@ -190,14 +209,15 @@ vendor_map = { "pierce", ], "Tib MolBiol": ["tibmolbiol", "tibmolbio"], - "Tse Systems GmbH": ["tse systems"], - "Vilber Lourmat GmbH": ["vilber"], - "VWR International GmbH": [ + "Tse Systems": ["tse systems gmbh"], + "Vilber Lourmat": ["vilber", "vilber lourmat gmbh"], + "VWR International": [ "vwr", "vwr (lenz laborglas gmbh & co.kg)", "vwr chemicals", "vwr collection", "vwt", + "vwr international gmbh", ], "Weigert": ["drweigert"], "Xantec Bioanalytics": ["xantec", "xantec bioanalyticss"],