Skip to content

Commit dffa453

Browse files
committed
update job file configuration
1 parent b8f578f commit dffa453

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

files/exampleJob.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
2-
"_comment1": "Paths in this file are relative to the root of your S3 bucket",
3-
"input_file_location": "projects/input/",
2+
"_comment1": "Path of the output_file_location is relative to the root of your S3 bucket",
43
"output_file_location": "projects/output/",
5-
"_comment2a": "The line below allows you to tell DF if any of the metadata values specified in your groups should mean files",
6-
"_comment2b": "end up in different subfolders. Set to [] if none, otherwise set in order.",
7-
"shared_metadata": {"image_size":"1024","rows":"2","columns":"2"},
4+
"_comment2a": "If the location of input data is on your bucket and is passed to the script, make sure",
5+
"_comment2b": "you pass a file location starting with /home/ubuntu/bucket",
6+
"shared_metadata": {"input_file_location":"/home/ubuntu/bucket/projects/input","image_size":"1024","rows":"2","columns":"2"},
87
"_comment3": "The following groups are tasks, and each will be run in parallel",
98
"groups": [
109
{"Well": "A1", "Plate":"Plate_1"},
1110
{"Well": "A2", "Plate":"Plate_1"}
1211
]
1312
}
14-

run.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ def submitJob():
185185
# Step 1: Read the job configuration file
186186
jobInfo = loadConfig(sys.argv[2])
187187
templateMessage = {'Metadata': '',
188-
'input_file_location': jobInfo["input_file_location"],
189188
'output_file_location': jobInfo["output_file_location"],
190189
'shared_metadata': jobInfo["shared_metadata"]
191190
}

0 commit comments

Comments
 (0)