Files
galaxy/test-data/selenium-test-notebook.ipynb
T
Nicola Soranzo aeeef1d578 Update ruff to 0.6.1
Since 0.6.0, ruff checks also Jupyter notebook files by default:

https://astral.sh/blog/ruff-v0.6.0
2024-08-17 18:58:38 +01:00

2.9 KiB

Welcome to the interactive Galaxy IPython Notebook.

You can access your data via the dataset number. For example, handle = open(get(42), 'r'). To save data, write your data to a file, and then call put('filename.txt'). The dataset will then be available in your galaxy history. Notebooks can be saved to Galaxy by clicking the large green button at the top right of the IPython interface.
More help and informations can be found on the project website.

In [12]:
get(1)  # noqa: F821
Out [12]:
'/import/1'
In [13]:
!grep chr6 /import/1
chr6_hla_hap2   0       150
In [14]:
!echo "Hello World" > /tmp/cow
In [15]:
put("/tmp/cow")  # noqa: F821
In [16]:
!ls /import
1  [2] 1.txt.gg  ipython_galaxy_notebook.ipynb
In [17]:
put("/import/ipython_galaxy_notebook.ipynb")  # noqa: F821
In [ ]: