imsciences 0.6.2.8__py3-none-any.whl → 0.6.2.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -763,8 +763,8 @@ class dataprocessing:
763
763
  pandas.DataFrame: DataFrame with a new column containing the look up table results.
764
764
  """
765
765
 
766
- # Create regex pattern from the dictionary keys
767
- regex_pattern = "|".join(re.escape(key) for key in to_find_dict.keys())
766
+ # Create regex pattern with word boundaries from the dictionary
767
+ regex_pattern = "|".join(r'\b' + re.escape(key) + r'\b' for key in to_find_dict.keys())
768
768
 
769
769
  # Preprocess DataFrame if multiple columns
770
770
  if len(col_names) > 1:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: imsciences
3
- Version: 0.6.2.8
3
+ Version: 0.6.2.9
4
4
  Summary: IMS Data Processing Package
5
5
  Author: IMS
6
6
  Author-email: cam@im-sciences.com
@@ -3,14 +3,14 @@ dataprocessing/data-processing-functions.py,sha256=vE1vsZ8xOSbR9Bwlp9SWXwEHXQ0nF
3
3
  dataprocessing/datafunctions.py,sha256=vE1vsZ8xOSbR9Bwlp9SWXwEHXQ0nFydwGkvzHXf2f1Y,41
4
4
  imsciences/__init__.py,sha256=GIPbLmWc06sVcOySWwNvMNUr6XGOHqPLryFIWgtpHh8,78
5
5
  imsciences/datafunctions-IMS-24Ltp-3.py,sha256=3Snv-0iE_03StmyjtT-riOU9f4v8TaJWLoyZLJp6l8Y,141406
6
- imsciences/datafunctions.py,sha256=CWdwme486HMYDn5nshGgayy76PyKEUwZQyN2CkXWA3M,151392
6
+ imsciences/datafunctions.py,sha256=U7P6CbsYj-dNol25XE4CH5TIwmngHq8A61h-xghIZMA,151424
7
7
  imsciences/datapull.py,sha256=TPY0LDgOkcKTBk8OekbD0Grg5x0SomAK2dZ7MuT6X1E,19000
8
8
  imsciencesdataprocessing/__init__.py,sha256=quSwsLs6IuLoA5Rzi0ZD40xZaQudwDteF7_ai9JfTPk,32
9
9
  imsciencesdataprocessing/datafunctions.py,sha256=vE1vsZ8xOSbR9Bwlp9SWXwEHXQ0nFydwGkvzHXf2f1Y,41
10
10
  imsdataprocessing/__init__.py,sha256=quSwsLs6IuLoA5Rzi0ZD40xZaQudwDteF7_ai9JfTPk,32
11
11
  imsdataprocessing/datafunctions.py,sha256=vE1vsZ8xOSbR9Bwlp9SWXwEHXQ0nFydwGkvzHXf2f1Y,41
12
- imsciences-0.6.2.8.dist-info/METADATA,sha256=t1SXLwd-9YFA09A3vFdEoNjDkwIZR2hkE8Aecf10tY0,854
13
- imsciences-0.6.2.8.dist-info/PKG-INFO-IMS-24Ltp-3,sha256=yqZbigwHjnYoqyI81PGz_AeofRFfOrwH_Vyawyef-mg,854
14
- imsciences-0.6.2.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
15
- imsciences-0.6.2.8.dist-info/top_level.txt,sha256=hsENS-AlDVRh8tQJ6-426iUQlla9bPcGc0-UlFF0_iU,11
16
- imsciences-0.6.2.8.dist-info/RECORD,,
12
+ imsciences-0.6.2.9.dist-info/METADATA,sha256=Z19p_LKB8Vv7TBot2-9K_KdVrQ9TT78eBdrmE5_0KI8,854
13
+ imsciences-0.6.2.9.dist-info/PKG-INFO-IMS-24Ltp-3,sha256=yqZbigwHjnYoqyI81PGz_AeofRFfOrwH_Vyawyef-mg,854
14
+ imsciences-0.6.2.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
15
+ imsciences-0.6.2.9.dist-info/top_level.txt,sha256=hsENS-AlDVRh8tQJ6-426iUQlla9bPcGc0-UlFF0_iU,11
16
+ imsciences-0.6.2.9.dist-info/RECORD,,