Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Convert site to string in metadata formatting
  • Loading branch information
ErinWeisbart authored Feb 2, 2026
commit cd1ef5041380e65619ecf5c26d246fb4c947c22b
8 changes: 4 additions & 4 deletions run_batch_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def run_batch_general(
for eachcol in columns:
for site in sites:
templateMessage_ad = {
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachrow}{int(eachcol):{well_format}},Metadata_Site={site}",
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachrow}{int(eachcol):{well_format}},Metadata_Site={str(site)}",
"pipeline": posixpath.join(pipelinepath, pipeline),
"output": outpath,
"input": inputpath,
Expand All @@ -454,7 +454,7 @@ def run_batch_general(
for well in wells:
for site in sites:
templateMessage_ad = {
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachwell},Metadata_Site={site}",
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachwell},Metadata_Site={str(site)}",
"pipeline": posixpath.join(pipelinepath, pipeline),
"output": outpath,
"input": inputpath,
Expand All @@ -470,7 +470,7 @@ def run_batch_general(
for eachcol in columns:
for site in sites:
templateMessage_ad = {
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachrow}{int(eachcol):{well_format}},Metadata_Site={site}",
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachrow}{int(eachcol):{well_format}},Metadata_Site={str(site)}",
"pipeline": posixpath.join(batchpath, batchfile),
"output": outpath,
"input": inputpath,
Expand All @@ -481,7 +481,7 @@ def run_batch_general(
for eachwell in wells:
for site in sites:
templateMessage_ad = {
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachwell},Metadata_Site={site}",
"Metadata": f"Metadata_Plate={plate},Metadata_Well={eachwell},Metadata_Site={str(site)}",
"pipeline": posixpath.join(batchpath, batchfile),
"output": outpath,
"input": inputpath,
Expand Down