Skip to content

Commit

Permalink
Merge pull request #655 from deepmodeling/zjgemi
Browse files Browse the repository at this point in the history
fix: convert project_id to int
  • Loading branch information
zjgemi authored Sep 20, 2023
2 parents 65edcfb + eabe7e1 commit 2db7e81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dflow/plugins/bohrium.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ def create_job_group(job_group_name):
import requests
data = {
"name": job_group_name,
"projectId": config["project_id"],
}
if config["project_id"] is not None:
data["projectId"] = int(config["project_id"])
headers = {
"Content-type": "application/json",
}
Expand Down

0 comments on commit 2db7e81

Please sign in to comment.