Skip to content

Commit d524fdc

Browse files
committed
show the description of parameters starting with star
1 parent 82ff0a9 commit d524fdc

File tree

3 files changed

+19
-7379
lines changed

3 files changed

+19
-7379
lines changed

requirements.txt

Lines changed: 15 additions & 148 deletions
Original file line numberDiff line numberDiff line change
@@ -1,148 +1,15 @@
1-
aiohttp==3.8.3
2-
aiosignal==1.3.1
3-
anyio==3.6.2
4-
appdirs==1.4.4
5-
argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work
6-
argon2-cffi-bindings @ file:///C:/ci/argon2-cffi-bindings_1644551690056/work
7-
asttokens==2.2.1
8-
async-timeout==4.0.2
9-
attrs @ file:///C:/b/abs_09s3y775ra/croot/attrs_1668696195628/work
10-
autopep8==2.0.1
11-
Babel==2.11.0
12-
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
13-
beautifulsoup4 @ file:///C:/ci/beautifulsoup4_1650293025093/work
14-
bleach==5.0.1
15-
brotlipy==0.7.0
16-
certifi @ file:///C:/b/abs_ac29jvt43w/croot/certifi_1665076682579/work/certifi
17-
cffi @ file:///C:/b/abs_49n3v2hyhr/croot/cffi_1670423218144/work
18-
charset-normalizer==2.1.1
19-
colorama==0.4.6
20-
colorcet==3.0.1
21-
comm==0.1.2
22-
contourpy==1.0.6
23-
cryptography @ file:///C:/b/abs_36x9ifdcl4/croot/cryptography_1665612655344/work
24-
cycler==0.11.0
25-
debugpy==1.6.4
26-
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
27-
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
28-
Deprecated @ file:///C:/Windows/TEMP/abs_4flgviyh6m/croots/recipe/deprecated_1659726430166/work
29-
deprecation @ file:///tmp/build/80754af9/deprecation_1628181869014/work
30-
docutils==0.19
31-
ebrains-drive==0.5.0
32-
entrypoints @ file:///C:/ci/entrypoints_1649926621128/work
33-
executing==1.2.0
34-
fastjsonschema @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_ebruxzvd08/croots/recipe/python-fastjsonschema_1661376484940/work
35-
flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core
36-
fonttools==4.38.0
37-
frozenlist==1.3.3
38-
gitdb==4.0.10
39-
GitPython==3.1.29
40-
idna @ file:///C:/b/abs_bdhbebrioa/croot/idna_1666125572046/work
41-
imageio==2.22.4
42-
importlib-metadata==5.1.0
43-
ipydatawidgets==4.3.2
44-
ipykernel==6.19.2
45-
ipympl==0.9.2
46-
ipython @ file:///C:/b/abs_536xsn7rj0/croot/ipython_1670919360443/work
47-
ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
48-
ipywidgets==7.7.1
49-
jedi==0.18.2
50-
Jinja2 @ file:///C:/b/abs_7cdis66kl9/croot/jinja2_1666908141852/work
51-
json5==0.9.10
52-
jsonschema==4.17.3
53-
jupyter-server==1.23.3
54-
jupyter_client==7.4.8
55-
jupyter_core==5.1.0
56-
jupyter_packaging==0.12.3
57-
jupyterlab @ file:///opt/conda/conda-bld/jupyterlab_1644830542042/work
58-
jupyterlab-pygments==0.2.2
59-
jupyterlab-widgets==1.1.0
60-
jupyterlab_server==2.16.5
61-
kiwisolver==1.4.4
62-
llvmlite==0.39.1
63-
lxml==4.9.2
64-
Mako==1.2.4
65-
MarkupSafe @ file:///C:/ci/markupsafe_1654508077284/work
66-
matplotlib==3.6.2
67-
matplotlib-inline @ file:///C:/ci/matplotlib-inline_1661915841596/work
68-
mistune==2.0.4
69-
mne==0.24.1
70-
multidict==6.0.3
71-
nbclassic @ file:///C:/b/abs_26e3fkk516/croot/nbclassic_1668174974037/work
72-
nbclient==0.7.2
73-
nbconvert==7.0.0
74-
nbformat @ file:///C:/b/abs_85_3g7dkt4/croot/nbformat_1670352343720/work
75-
nest-asyncio==1.5.6
76-
networkx==2.8.8
77-
notebook==6.5.2
78-
notebook_shim @ file:///C:/b/abs_ebfczttg6x/croot/notebook-shim_1668160590914/work
79-
numba==0.56.4
80-
numexpr==2.8.4
81-
numpy==1.23.5
82-
packaging==22.0
83-
pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work
84-
param==1.12.3
85-
parso @ file:///opt/conda/conda-bld/parso_1641458642106/work
86-
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
87-
Pillow==9.3.0
88-
platformdirs==2.6.0
89-
pooch==1.6.0
90-
prometheus-client==0.15.0
91-
prompt-toolkit==3.0.36
92-
psutil==5.9.4
93-
pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work
94-
pycodestyle==2.10.0
95-
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
96-
pyct==0.4.8
97-
PyGithub==1.57
98-
Pygments==2.13.0
99-
PyJWT==2.6.0
100-
PyLEMS==0.6.0
101-
PyNaCl @ file:///C:/Windows/Temp/abs_d5c3ajcm87/croots/recipe/pynacl_1659620667490/work
102-
pyOpenSSL @ file:///opt/conda/conda-bld/pyopenssl_1643788558760/work
103-
pyparsing @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_7f_7lba6rl/croots/recipe/pyparsing_1661452540662/work
104-
pyrsistent==0.19.2
105-
PySocks @ file:///C:/ci/pysocks_1605307512533/work
106-
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
107-
pythreejs==2.4.1
108-
pytz==2022.6
109-
pyvista==0.37.0
110-
pywin32==305.1
111-
pywinpty==2.0.9
112-
pyzmq==24.0.1
113-
requests @ file:///C:/ci/requests_1657735342357/work
114-
rst2html==2020.7.4
115-
scipy==1.9.3
116-
scooby==0.7.0
117-
Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
118-
six @ file:///tmp/build/80754af9/six_1644875935023/work
119-
smmap==5.0.0
120-
sniffio==1.3.0
121-
soupsieve @ file:///C:/b/abs_fasraqxhlv/croot/soupsieve_1666296394662/work
122-
stack-data==0.6.2
123-
terminado==0.17.1
124-
tinycss2 @ file:///C:/b/abs_52w5vfuaax/croot/tinycss2_1668168823131/work
125-
tomli==2.0.1
126-
tomlkit==0.11.6
127-
tornado @ file:///C:/ci/tornado_1662458743919/work
128-
tqdm @ file:///C:/b/abs_0axbz66qik/croots/recipe/tqdm_1664392691071/work
129-
traitlets @ file:///C:/b/abs_e5m_xjjl94/croot/traitlets_1671143896266/work
130-
traittypes==0.2.1
131-
-e git+https://github.com/the-virtual-brain/tvb-ext-xircuits.git@9b348a0ed863755dd1a48d71597b79a8400fd81b#egg=tvb_ext_xircuits
132-
tvb-library==2.7.1
133-
tvb-widgets==1.0
134-
typing_extensions @ file:///C:/b/abs_89eui86zuq/croot/typing_extensions_1669923792806/work
135-
urllib3 @ file:///C:/b/abs_21qa0j12xt/croot/urllib3_1670527000672/work
136-
vtk==9.2.2
137-
wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
138-
webencodings==0.5.1
139-
websocket-client==1.4.2
140-
widgetsnbextension==3.6.1
141-
win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
142-
wincertstore==0.2
143-
wrapt @ file:///C:/Windows/Temp/abs_7c3dd407-1390-477a-b542-fd15df6a24085_diwiza/croots/recipe/wrapt_1657814452175/work
144-
wslink==1.9.2
145-
-e git+https://github.com/the-virtual-brain/tvb-ext-xircuits.git@9b348a0ed863755dd1a48d71597b79a8400fd81b#egg=xircuits
146-
y-py @ file:///D:/bld/y-py_1648809860095/work
147-
yarl==1.8.2
148-
zipp==3.11.0
1+
ipykernel
2+
packaging
3+
tornado>=6.1.0
4+
jupyter-core
5+
jupyter-packaging
6+
jupyterlab-server>=2.11.1,<3
7+
jupyter-server>=1.16.0,<2
8+
notebook_shim>=0.1
9+
jinja2>=3.0.3
10+
y-py>=0.3.0,<0.4.0
11+
jupyterlab>=3.0.0,<4.0.0
12+
requests
13+
gitpython
14+
pygithub
15+
tqdm

src/components/CustomNodeWidget.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ export class CustomNodeWidget extends React.Component<DefaultNodeProps> {
165165
generatePort = (port, index) => {
166166
const argumentDescriptions = this.props.node['extras']['argumentDescriptions'];
167167

168-
const description = argumentDescriptions && (port.getOptions().label in argumentDescriptions) ? argumentDescriptions[port.getOptions().label] : "";
168+
// remove the ☆ from the beginning of the label
169+
const name = port.getOptions().label[0] === "★" ? port.getOptions().label.slice(1) : port.getOptions().label;
170+
171+
const description = argumentDescriptions && (name in argumentDescriptions) ? argumentDescriptions[name] : "";
169172

170173
const isOutPort = port.getOptions().name.includes('parameter-out');
171174

0 commit comments

Comments
 (0)