Skip to content

Commit

Permalink
docs: rearrange
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Feb 12, 2024
1 parent c8ffa76 commit 750e4fd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
42 changes: 18 additions & 24 deletions docs/test.rst → docs/InitializeClient.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@ initialize the client when performing a query.

.. tabs::

.. tab:: Command Line

To get a list of available public collections that start with "TCGA", run the following command:

.. tabs::

.. tab:: Guest Account

.. code-block:: bash
getCollections --prefix TCGA
.. tab:: Your Account

.. code-block:: bash
getCollections -u <USERNAME> -p <PASSWORD> --prefix TCGA
.. tab:: Python

To do the same in Python, run the following code:
Expand All @@ -39,10 +21,6 @@ initialize the client when performing a query.
client = NBIAClient()
client.getCollections(prefix='TCGA')
.. raw:: html

<iframe src="_static/test_setup.html" width="100%" height="100%"></iframe>

.. tab:: Your Account

.. code-block:: python
Expand All @@ -52,9 +30,25 @@ initialize the client when performing a query.
client = NBIAClient(username = "<USERNAME>", password = "<PASSWORD>")
client.getCollections(prefix='TCGA')
.. raw:: html
.. tab:: Command Line

To get a list of available public collections that start with "TCGA", run the following command:

.. tabs::

.. tab:: Guest Account

.. code-block:: bash
getCollections --prefix TCGA
.. tab:: Your Account

.. code-block:: bash
getCollections -u <USERNAME> -p <PASSWORD> --prefix TCGA
<iframe src="_static/test_setup.html" width="100%" height="100%"></iframe>
Logging
Expand Down
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
:hidden:
markdowns/NBIA.md
test.rst
test_setup.html
markdowns/Installation.md
InitializeClient.rst
markdowns/CHANGELOG.md
markdowns/CONTRIBUTING.md
markdowns/CONDUCT.md
Expand Down

0 comments on commit 750e4fd

Please sign in to comment.