Skip to content

Commit

Permalink
Merge pull request #10 from hgb-bin-proteomics/develop
Browse files Browse the repository at this point in the history
fix string insert bug
  • Loading branch information
michabirklbauer authored Jan 9, 2024
2 parents e937b34 + d27fc46 commit e952168
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions create_spectral_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# micha.birklbauer@gmail.com

# version tracking
__version = "1.1.1"
__date = "2023-12-06"
__version = "1.1.3"
__date = "2024-01-08"

# REQUIREMENTS
# pip install pandas
Expand Down Expand Up @@ -401,7 +401,7 @@ def parse_mod_str(peptide, mod_str, crosslinker):

# helper function to insert string into string
def str_insert(string, index, character):
return string[:index] + character + string[:index]
return string[:index] + character + string[index:]
# end function

mods_A = parse_mod_str(str(row["Sequence A"]), str(row["Modifications A"]), crosslinker)
Expand Down

0 comments on commit e952168

Please sign in to comment.