Skip to content

Commit db235b4

Browse files
committed
fmk - for regional mapping adding --workflowInput to interface, mods to WorkflowApplications and NNE.py and SSE.py for this
1 parent 8828e81 commit db235b4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

modules/Workflow/WorkflowApplications.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,12 @@
331331
"type": "path",
332332
"description": "Name of JSON file containing an array of id,filename pairs. For each asset id the application creates a AIM file with name filename",
333333
"default": "assets.json"
334-
}
334+
},
335+
{
336+
"id": "workflowInput",
337+
"type": "workflowDefault",
338+
"description": "name of file containing the input"
339+
}
335340
],
336341
"Outputs": []
337342
},
@@ -1366,4 +1371,4 @@
13661371
}
13671372
]
13681373
}
1369-
}
1374+
}

modules/performRegionalMapping/NearestNeighborEvents/NNE.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ def find_neighbors( # noqa: C901, D103
404404
parser.add_argument('--neighbors', type=int)
405405
parser.add_argument('--filter_label', default='')
406406
parser.add_argument('--doParallel', default='False')
407+
parser.add_argument('--workflowInput')
407408
parser.add_argument('-n', '--numP', default='8')
408409
parser.add_argument('-m', '--mpiExec', default='mpiexec')
409410
parser.add_argument('--seed', type=int, default=None)

modules/performRegionalMapping/SiteSpecifiedEvents/SSE.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ def create_event(asset_file, event_grid_file, multipleEvents, doParallel): # no
263263
parser.add_argument('--assetFile')
264264
parser.add_argument('--filenameEVENTgrid')
265265
parser.add_argument('--multipleEvents', default='True')
266+
parser.add_argument('--workflowInput')
266267
parser.add_argument('--doParallel', default='False')
267268
parser.add_argument('-n', '--numP', default='8')
268269
parser.add_argument('-m', '--mpiExec', default='mpixece')

0 commit comments

Comments
 (0)