Skip to content

Commit

Permalink
show the description of parameters starting with star
Browse files Browse the repository at this point in the history
  • Loading branch information
rarescodemart committed Dec 19, 2022
1 parent 82ff0a9 commit 1960331
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 149 deletions.
163 changes: 15 additions & 148 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,148 +1,15 @@
aiohttp==3.8.3
aiosignal==1.3.1
anyio==3.6.2
appdirs==1.4.4
argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work
argon2-cffi-bindings @ file:///C:/ci/argon2-cffi-bindings_1644551690056/work
asttokens==2.2.1
async-timeout==4.0.2
attrs @ file:///C:/b/abs_09s3y775ra/croot/attrs_1668696195628/work
autopep8==2.0.1
Babel==2.11.0
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
beautifulsoup4 @ file:///C:/ci/beautifulsoup4_1650293025093/work
bleach==5.0.1
brotlipy==0.7.0
certifi @ file:///C:/b/abs_ac29jvt43w/croot/certifi_1665076682579/work/certifi
cffi @ file:///C:/b/abs_49n3v2hyhr/croot/cffi_1670423218144/work
charset-normalizer==2.1.1
colorama==0.4.6
colorcet==3.0.1
comm==0.1.2
contourpy==1.0.6
cryptography @ file:///C:/b/abs_36x9ifdcl4/croot/cryptography_1665612655344/work
cycler==0.11.0
debugpy==1.6.4
decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
Deprecated @ file:///C:/Windows/TEMP/abs_4flgviyh6m/croots/recipe/deprecated_1659726430166/work
deprecation @ file:///tmp/build/80754af9/deprecation_1628181869014/work
docutils==0.19
ebrains-drive==0.5.0
entrypoints @ file:///C:/ci/entrypoints_1649926621128/work
executing==1.2.0
fastjsonschema @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_ebruxzvd08/croots/recipe/python-fastjsonschema_1661376484940/work
flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core
fonttools==4.38.0
frozenlist==1.3.3
gitdb==4.0.10
GitPython==3.1.29
idna @ file:///C:/b/abs_bdhbebrioa/croot/idna_1666125572046/work
imageio==2.22.4
importlib-metadata==5.1.0
ipydatawidgets==4.3.2
ipykernel==6.19.2
ipympl==0.9.2
ipython @ file:///C:/b/abs_536xsn7rj0/croot/ipython_1670919360443/work
ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
ipywidgets==7.7.1
jedi==0.18.2
Jinja2 @ file:///C:/b/abs_7cdis66kl9/croot/jinja2_1666908141852/work
json5==0.9.10
jsonschema==4.17.3
jupyter-server==1.23.3
jupyter_client==7.4.8
jupyter_core==5.1.0
jupyter_packaging==0.12.3
jupyterlab @ file:///opt/conda/conda-bld/jupyterlab_1644830542042/work
jupyterlab-pygments==0.2.2
jupyterlab-widgets==1.1.0
jupyterlab_server==2.16.5
kiwisolver==1.4.4
llvmlite==0.39.1
lxml==4.9.2
Mako==1.2.4
MarkupSafe @ file:///C:/ci/markupsafe_1654508077284/work
matplotlib==3.6.2
matplotlib-inline @ file:///C:/ci/matplotlib-inline_1661915841596/work
mistune==2.0.4
mne==0.24.1
multidict==6.0.3
nbclassic @ file:///C:/b/abs_26e3fkk516/croot/nbclassic_1668174974037/work
nbclient==0.7.2
nbconvert==7.0.0
nbformat @ file:///C:/b/abs_85_3g7dkt4/croot/nbformat_1670352343720/work
nest-asyncio==1.5.6
networkx==2.8.8
notebook==6.5.2
notebook_shim @ file:///C:/b/abs_ebfczttg6x/croot/notebook-shim_1668160590914/work
numba==0.56.4
numexpr==2.8.4
numpy==1.23.5
packaging==22.0
pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work
param==1.12.3
parso @ file:///opt/conda/conda-bld/parso_1641458642106/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
Pillow==9.3.0
platformdirs==2.6.0
pooch==1.6.0
prometheus-client==0.15.0
prompt-toolkit==3.0.36
psutil==5.9.4
pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work
pycodestyle==2.10.0
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
pyct==0.4.8
PyGithub==1.57
Pygments==2.13.0
PyJWT==2.6.0
PyLEMS==0.6.0
PyNaCl @ file:///C:/Windows/Temp/abs_d5c3ajcm87/croots/recipe/pynacl_1659620667490/work
pyOpenSSL @ file:///opt/conda/conda-bld/pyopenssl_1643788558760/work
pyparsing @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_7f_7lba6rl/croots/recipe/pyparsing_1661452540662/work
pyrsistent==0.19.2
PySocks @ file:///C:/ci/pysocks_1605307512533/work
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
pythreejs==2.4.1
pytz==2022.6
pyvista==0.37.0
pywin32==305.1
pywinpty==2.0.9
pyzmq==24.0.1
requests @ file:///C:/ci/requests_1657735342357/work
rst2html==2020.7.4
scipy==1.9.3
scooby==0.7.0
Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
six @ file:///tmp/build/80754af9/six_1644875935023/work
smmap==5.0.0
sniffio==1.3.0
soupsieve @ file:///C:/b/abs_fasraqxhlv/croot/soupsieve_1666296394662/work
stack-data==0.6.2
terminado==0.17.1
tinycss2 @ file:///C:/b/abs_52w5vfuaax/croot/tinycss2_1668168823131/work
tomli==2.0.1
tomlkit==0.11.6
tornado @ file:///C:/ci/tornado_1662458743919/work
tqdm @ file:///C:/b/abs_0axbz66qik/croots/recipe/tqdm_1664392691071/work
traitlets @ file:///C:/b/abs_e5m_xjjl94/croot/traitlets_1671143896266/work
traittypes==0.2.1
-e git+https://github.com/the-virtual-brain/tvb-ext-xircuits.git@9b348a0ed863755dd1a48d71597b79a8400fd81b#egg=tvb_ext_xircuits
tvb-library==2.7.1
tvb-widgets==1.0
typing_extensions @ file:///C:/b/abs_89eui86zuq/croot/typing_extensions_1669923792806/work
urllib3 @ file:///C:/b/abs_21qa0j12xt/croot/urllib3_1670527000672/work
vtk==9.2.2
wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
webencodings==0.5.1
websocket-client==1.4.2
widgetsnbextension==3.6.1
win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
wincertstore==0.2
wrapt @ file:///C:/Windows/Temp/abs_7c3dd407-1390-477a-b542-fd15df6a24085_diwiza/croots/recipe/wrapt_1657814452175/work
wslink==1.9.2
-e git+https://github.com/the-virtual-brain/tvb-ext-xircuits.git@9b348a0ed863755dd1a48d71597b79a8400fd81b#egg=xircuits
y-py @ file:///D:/bld/y-py_1648809860095/work
yarl==1.8.2
zipp==3.11.0
ipykernel
packaging
tornado>=6.1.0
jupyter-core
jupyter-packaging
jupyterlab-server>=2.11.1,<3
jupyter-server>=1.16.0,<2
notebook_shim>=0.1
jinja2>=3.0.3
y-py>=0.3.0,<0.4.0
jupyterlab>=3.0.0,<4.0.0
requests
gitpython
pygithub
tqdm
5 changes: 4 additions & 1 deletion src/components/CustomNodeWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ export class CustomNodeWidget extends React.Component<DefaultNodeProps> {
generatePort = (port, index) => {
const argumentDescriptions = this.props.node['extras']['argumentDescriptions'];

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

const description = argumentDescriptions && (name in argumentDescriptions) ? argumentDescriptions[name] : "";

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

Expand Down

0 comments on commit 1960331

Please sign in to comment.