Skip to content

Commit

Permalink
Merge pull request #162 from Proteobench/fix-bug-renaming
Browse files Browse the repository at this point in the history
Found a use of search_engine variable that should be software_name
  • Loading branch information
RobbinBouwmeester authored Dec 15, 2023
2 parents 44973a0 + 6d87349 commit c3b125a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion proteobench/modules/dda_quant/datapoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def calculate_plot_data(self, df):

def generate_id(self):
time_stamp = datetime.now().strftime("%Y%m%d_%H%M%S")
self.id = self.search_engine + "_" + str(self.software_version) + "_" + str(time_stamp)
self.id = self.software_name + "_" + str(self.software_version) + "_" + str(time_stamp)
logging.info(f"Assigned the following ID to this run: {self.id}")

def dump_json_object(self, file_name):
Expand Down
9 changes: 1 addition & 8 deletions webinterface/configuration/dda_quant.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@
"search_engine": {
"type": "text_input",
"label": "Search engine name",
"value": {
"MaxQuant": "MaxQuant",
"AlphaPept": "AlphaPept",
"MSFragger": "MSFragger",
"Proline": "Proline",
"Sage": "Sage",
"WOMBAT": "WOMBAT"
}
"placeholder": "-"
},
"search_engine_version": {
"type": "text_input",
Expand Down

0 comments on commit c3b125a

Please sign in to comment.