Skip to content

Commit

Permalink
Merge pull request #5754 from markotoplak/fix-widget-catalog
Browse files Browse the repository at this point in the history
Update widgets.json for the new Transform category
  • Loading branch information
markotoplak authored Dec 23, 2021
2 parents 7f4dcf4 + b258270 commit 300dbba
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 90 deletions.
2 changes: 1 addition & 1 deletion doc/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ make html --directory "$SCRIPT_DIR"/visual-programming
# check if the widget catalog in the repository (for orange-hugo is up to date
cd "$SCRIPT_DIR"
wget_command="wget -N https://raw.githubusercontent.com/biolab/orange-hugo/master/scripts/create_widget_catalog.py"
run_command="python create_widget_catalog.py --categories Data,Visualize,Model,Evaluate,Unsupervised --doc visual-programming/source/"
run_command="python create_widget_catalog.py --categories Data,Transform,Visualize,Model,Evaluate,Unsupervised --doc visual-programming/source/"
eval "$wget_command"
eval "$run_command"
diff=$(git diff -- widgets.json)
Expand Down
183 changes: 94 additions & 89 deletions doc/widgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,58 @@
"inspect"
]
},
{
"text": "Rank",
"doc": "visual-programming/source/widgets/data/rank.md",
"icon": "../Orange/widgets/data/icons/Rank.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Edit Domain",
"doc": "visual-programming/source/widgets/data/editdomain.md",
"icon": "../Orange/widgets/data/icons/EditDomain.svg",
"background": "#FFD39F",
"keywords": [
"rename",
"drop",
"reorder",
"order"
]
},
{
"text": "Color",
"doc": "visual-programming/source/widgets/data/color.md",
"icon": "../Orange/widgets/data/icons/Colors.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Feature Statistics",
"doc": "visual-programming/source/widgets/data/featurestatistics.md",
"icon": "../Orange/widgets/data/icons/FeatureStatistics.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Save Data",
"doc": "visual-programming/source/widgets/data/save.md",
"icon": "../Orange/widgets/data/icons/Save.svg",
"background": "#FFD39F",
"keywords": [
"export"
]
}
]
],
[
"Transform",
[
{
"text": "Aggregate Columns",
"doc": "visual-programming/source/widgets/data/aggregatecolumns.md",
"icon": "../Orange/widgets/data/icons/AggregateColumns.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"aggregate",
"sum",
Expand All @@ -93,7 +140,7 @@
"text": "Data Sampler",
"doc": "visual-programming/source/widgets/data/datasampler.md",
"icon": "../Orange/widgets/data/icons/DataSampler.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"random"
]
Expand All @@ -102,7 +149,7 @@
"text": "Select Columns",
"doc": "visual-programming/source/widgets/data/selectcolumns.md",
"icon": "../Orange/widgets/data/icons/SelectColumns.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"filter",
"attributes",
Expand All @@ -114,7 +161,7 @@
"text": "Select Rows",
"doc": "visual-programming/source/widgets/data/selectrows.md",
"icon": "../Orange/widgets/data/icons/SelectRows.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"filter"
]
Expand All @@ -123,32 +170,18 @@
"text": "Pivot Table",
"doc": "visual-programming/source/widgets/data/pivot.md",
"icon": "../Orange/widgets/data/icons/Pivot.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"pivot",
"group",
"aggregate"
]
},
{
"text": "Rank",
"doc": "visual-programming/source/widgets/data/rank.md",
"icon": "../Orange/widgets/data/icons/Rank.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Correlations",
"doc": "visual-programming/source/widgets/data/correlations.md",
"icon": "../Orange/widgets/data/icons/Correlations.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Merge Data",
"doc": "visual-programming/source/widgets/data/mergedata.md",
"icon": "../Orange/widgets/data/icons/MergeData.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"join"
]
Expand All @@ -157,7 +190,7 @@
"text": "Concatenate",
"doc": "visual-programming/source/widgets/data/concatenate.md",
"icon": "../Orange/widgets/data/icons/Concatenate.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"append",
"join",
Expand All @@ -168,28 +201,28 @@
"text": "Select by Data Index",
"doc": "visual-programming/source/widgets/data/select-by-data-index.md",
"icon": "../Orange/widgets/data/icons/SelectByDataIndex.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": []
},
{
"text": "Transpose",
"doc": "visual-programming/source/widgets/data/transpose.md",
"icon": "../Orange/widgets/data/icons/Transpose.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": []
},
{
"text": "Randomize",
"doc": "visual-programming/source/widgets/data/randomize.md",
"icon": "../Orange/widgets/data/icons/Random.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": []
},
{
"text": "Preprocess",
"doc": "visual-programming/source/widgets/data/preprocess.md",
"icon": "../Orange/widgets/data/icons/Preprocess.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"process"
]
Expand All @@ -198,7 +231,7 @@
"text": "Apply Domain",
"doc": "visual-programming/source/widgets/data/applydomain.md",
"icon": "../Orange/widgets/data/icons/Transform.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"transform"
]
Expand All @@ -207,38 +240,17 @@
"text": "Impute",
"doc": "visual-programming/source/widgets/data/impute.md",
"icon": "../Orange/widgets/data/icons/Impute.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"substitute",
"missing"
]
},
{
"text": "Outliers",
"doc": "visual-programming/source/widgets/data/outliers.md",
"icon": "../Orange/widgets/data/icons/Outliers.svg",
"background": "#FFD39F",
"keywords": [
"inlier"
]
},
{
"text": "Edit Domain",
"doc": "visual-programming/source/widgets/data/editdomain.md",
"icon": "../Orange/widgets/data/icons/EditDomain.svg",
"background": "#FFD39F",
"keywords": [
"rename",
"drop",
"reorder",
"order"
]
},
{
"text": "Python Script",
"doc": "visual-programming/source/widgets/data/pythonscript.md",
"icon": "../Orange/widgets/data/icons/PythonScript.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"program",
"function"
Expand All @@ -248,23 +260,16 @@
"text": "Create Instance",
"doc": "visual-programming/source/widgets/data/createinstance.md",
"icon": "../Orange/widgets/data/icons/CreateInstance.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"simulator"
]
},
{
"text": "Color",
"doc": "visual-programming/source/widgets/data/color.md",
"icon": "../Orange/widgets/data/icons/Colors.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Continuize",
"doc": "visual-programming/source/widgets/data/continuize.md",
"icon": "../Orange/widgets/data/icons/Continuize.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"encode",
"dummy",
Expand All @@ -279,14 +284,14 @@
"text": "Create Class",
"doc": "visual-programming/source/widgets/data/createclass.md",
"icon": "../Orange/widgets/data/icons/CreateClass.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": []
},
{
"text": "Discretize",
"doc": "visual-programming/source/widgets/data/discretize.md",
"icon": "../Orange/widgets/data/icons/Discretize.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"bin",
"categorical",
Expand All @@ -298,24 +303,17 @@
"text": "Feature Constructor",
"doc": "visual-programming/source/widgets/data/featureconstructor.md",
"icon": "../Orange/widgets/data/icons/FeatureConstructor.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"function",
"lambda"
]
},
{
"text": "Feature Statistics",
"doc": "visual-programming/source/widgets/data/featurestatistics.md",
"icon": "../Orange/widgets/data/icons/FeatureStatistics.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Group by",
"doc": null,
"doc": "visual-programming/source/widgets/data/groupby.md",
"icon": "../Orange/widgets/data/icons/GroupBy.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"aggregate",
"group by"
Expand All @@ -325,45 +323,29 @@
"text": "Melt",
"doc": "visual-programming/source/widgets/data/melt.md",
"icon": "../Orange/widgets/data/icons/Melt.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"shopping list",
"wide",
"narrow"
]
},
{
"text": "Neighbors",
"doc": "visual-programming/source/widgets/data/neighbors.md",
"icon": "../Orange/widgets/data/icons/Neighbors.svg",
"background": "#FFD39F",
"keywords": []
},
{
"text": "Purge Domain",
"doc": "visual-programming/source/widgets/data/purgedomain.md",
"icon": "../Orange/widgets/data/icons/PurgeDomain.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": [
"remove",
"delete",
"unused"
]
},
{
"text": "Save Data",
"doc": "visual-programming/source/widgets/data/save.md",
"icon": "../Orange/widgets/data/icons/Save.svg",
"background": "#FFD39F",
"keywords": [
"export"
]
},
{
"text": "Unique",
"doc": "visual-programming/source/widgets/data/unique.md",
"icon": "../Orange/widgets/data/icons/Unique.svg",
"background": "#FFD39F",
"background": "#FF9D5E",
"keywords": []
}
]
Expand Down Expand Up @@ -777,6 +759,13 @@
"tsne"
]
},
{
"text": "Correlations",
"doc": "visual-programming/source/widgets/data/correlations.md",
"icon": "../Orange/widgets/data/icons/Correlations.svg",
"background": "#CAE1EF",
"keywords": []
},
{
"text": "Distance Map",
"doc": "visual-programming/source/widgets/unsupervised/distancemap.md",
Expand Down Expand Up @@ -822,6 +811,15 @@
"background": "#CAE1EF",
"keywords": []
},
{
"text": "Outliers",
"doc": "visual-programming/source/widgets/data/outliers.md",
"icon": "../Orange/widgets/data/icons/Outliers.svg",
"background": "#CAE1EF",
"keywords": [
"inlier"
]
},
{
"text": "PCA",
"doc": "visual-programming/source/widgets/unsupervised/PCA.md",
Expand All @@ -832,6 +830,13 @@
"linear transformation"
]
},
{
"text": "Neighbors",
"doc": "visual-programming/source/widgets/data/neighbors.md",
"icon": "../Orange/widgets/data/icons/Neighbors.svg",
"background": "#CAE1EF",
"keywords": []
},
{
"text": "Correspondence Analysis",
"doc": "visual-programming/source/widgets/unsupervised/correspondenceanalysis.md",
Expand Down

0 comments on commit 300dbba

Please sign in to comment.