Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix invalid plugin manifests #525

Merged
merged 6 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 7 additions & 7 deletions clustering/k-means-clustering-tool/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.3.5-dev0",
"title": "K-Means Clustering",
"description": "Cluster the data using K-Means.",
"author": "Jayapriya Nagarajan (jayapriya.nagarajan@nih.gov), Kelechi Nina Mezu (nina.mezu@nih.gov) Hamdah Shafqat Abbasi (hamdahshafqat.abbasi@nih.gov)",
"author": "Jayapriya Nagarajan (jayapriya.nagarajan@nih.gov), Kelechi Nina Mezu (nina.mezu@nih.gov), Hamdah Shafqat Abbasi (hamdahshafqat.abbasi@nih.gov)",
"institution": "National Center for Advancing Translational Sciences, National Institutes of Health",
"repository": "https://github.com/polusai/polus-plugins",
"website": "https://ncats.nih.gov/preclinical/core/informatics",
Expand Down Expand Up @@ -59,6 +59,12 @@
"type": "number",
"description": "Number of clusters:",
"required": "false"
},
{
"name": "preview",
"type": "boolean",
"description": "Output a JSON preview of outputs produced by this plugin",
"required": "false"
}
],
"outputs": [
Expand Down Expand Up @@ -103,12 +109,6 @@
"title": "Enter number of clusters",
"description": "Number of clusters:",
"condition": "model.inputs.methods==Manual"
},
{
"key": "inputs.fileExtension",
"title": "FileExtension",
"description": "Desired file format of an ouput file",
"default": ".arrow"
}
]
}
45 changes: 28 additions & 17 deletions clustering/outlier-removal-tool/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,23 @@
"-m",
"polus.images.clustering.outlier_removal"
],
"inputs": {
"inpDir": {
"inputs": [
{
"name": "inpDir",
"type": "genericData",
"title": "Input tabular data",
"description": "Input tabular data.",
"required": "True"
},
"filePattern": {
{
"name": "filePattern",
"type": "string",
"title": "Filename pattern",
"description": "Filename pattern used to separate data.",
"required": "False"
},
"method": {
{
"name": "method",
"type": "enum",
"title": "Methods",
"description": "Select methods for outlier removal",
Expand All @@ -40,7 +43,8 @@
},
"required": "False"
},
"outputType": {
{
"name": "outputType",
"type": "enum",
"title": "outputType",
"description": "Select type of output file",
Expand All @@ -54,52 +58,59 @@
},
"required": "False"
},
"preview": {
{
"name": "preview",
"type": "boolean",
"title": "Preview",
"description": "Generate an output preview.",
"required": "False"
}
},
"outputs": {
"outDir": {
],
"outputs": [
{
"name": "outDir",
"type": "genericData",
"description": "Output collection."
}
},
"ui": {
"inpDir": {
],
"ui": [
{
"key": "inputs.inpDir",
"type": "genericData",
"title": "Input tabular data",
"description": "Input tabular data to be processed by this plugin.",
"required": "True"
},
"filePattern": {
{
"key": "inputs.filePattern",
"type": "string",
"title": "Filename pattern",
"description": "Filename pattern used to separate data.",
"required": "False",
"default": ".*"
},
"method": {
{
"key": "inputs.method",
"type": "enum",
"title": "method",
"description": "Select method for outlier removal.",
"required": "False",
"default": "IsolationForest"
},
"outputType": {
{
"key": "inputs.outputType",
"type": "enum",
"title": "outputType",
"description": "Select output type.",
"required": "False",
"default": "inlier"
},
"preview": {
{
"key": "inputs.preview",
"type": "boolean",
"title": "Preview",
"description": "Generate an output preview.",
"required": "False"
}
}
]
}
Loading
Loading