Skip to content

Commit

Permalink
solved the output of prepwizard
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCS committed Jun 6, 2024
1 parent d353a49 commit 057ea5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EAPM/Include/Blocks/PrepWizardEAPM.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def prepWizardAction(block: SlurmBlock):
folderName = block.variables.get(folderNameVariable.id, "prepared_proteins")
if os.path.exists(folderName):
folderName = folderName + "_" + str(time.time())
block.extraData[folderNameVariable.id] = folderName
ph = int(block.variables.get(phPW.id, 7))
epikPH = block.variables.get(epikPHPW.id, False)
sampleWater = block.variables.get(sampleWaterPW.id, False)
Expand Down Expand Up @@ -218,7 +219,7 @@ def downloadPrepWizardResults(block: SlurmBlock):

downloadResultsAction(block)

folderName = block.variables.get(folderNameVariable.id, "prepared_proteins")
folderName = block.extraData[folderNameVariable.id]

# Create the output folder containing the prepared proteins
if not os.path.exists(folderName):
Expand Down

0 comments on commit 057ea5f

Please sign in to comment.