Simon Li

Results 1068 comments of Simon Li

Can perhaps copy https://github.com/jupyterlite/jupyterlite/pull/375

Hi! Would you mind explaining your use case a bit more? If you're running your container locally this extension doesn't offer you much since you can just save/download your notebook...

Thanks for the PR. Unfortunately it doesn't seem to work on mybinder.org, compare https://mybinder.org/v2/gh/dayjaby/jupyter-notebookparams/master?urlpath=notebooks%2Fexample.ipynb%3Fa%3D1%26b%3D%22whatever%22%26autorun%3Dtrue with https://mybinder.org/v2/gh/manics/jupyter-notebookparams/HEAD?urlpath=notebooks%2Fexample.ipynb%3Fa%3D1%26b%3D%22whatever%22%26autorun%3Dtrue You might be hitting this issue https://github.com/jupyter/notebook/issues/5943 ?

@yarikoptic I can't think of a good way to prevent arbitrary code execution, especially as you might want to pass a objects such as dicts or arrays, and ideally you...

You can run test scripts in the conda recipe, it shouldn't need a separate workflow: https://github.com/conda-forge/omero-py-feedstock/blob/20d9f0ca55b3f7472cfe5a5171cc33e969bf0695/recipe/meta.yaml#L56-L58 https://conda-forge.org/docs/maintainer/adding_pkgs/#copying-test-files

A starting point (and non-breaking change) could be a top-level enum that defines ALL allowed error codes in omero-py? i.e. an omero version of the Python `errno` module.

Is this still a problem?

I tried to add a test to [`test_admin.py`](https://github.com/ome/omero-py/blob/v5.8.3/test/unit/clitest/test_admin.py) as part of a pending PR but discovered the existing tests are broken due to changes in how `cli.dir` and `OMERODIR` are...

I think the easiest solution is probably to download the release OMERO.server zip, and run the tests. As discussed there are obviously disadvantages due to the resulting coupling, but given...

`omero config --help`: ``` parse Parse the configuration properties from the etc/omero.properties file and Web properties for readability. ``` Is it meant to work without web?