Skip to content

Commit

Permalink
feat(neo4jsbml): enable encryption in url (#7)
Browse files Browse the repository at this point in the history
* fix(github): syntax version

* docs(readthedocs): spell check

* feat(neo4jsbml): enable encryption in url
  • Loading branch information
guillaume-gricourt authored Mar 28, 2023
1 parent fc4998a commit 2b5fc55
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11]
python-version: ['3.8', '3.9', '3.10', '3.11']
defaults:
run:
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Import your data with `neo4jsbml` into Neo4j.
```sh
neo4jsbml \
# Database parameters
--input-protocol-str ["neo4j", "bolt"] \
--input-protocol-str ["neo4j", "neo4j+s", "neo4j+ssc", "bolt", "bolt+s", "bolt+ssc"] \
--input-url-str "localhost" \
--input-port-int 7687 \
--input-user-str "neo4j" \
Expand Down
2 changes: 1 addition & 1 deletion docs/example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Example
View shared metabolite
----------------------

View shared metabolite, fumarat, between two models: *iAF1260* and *iML1515* available from `BiGG <http://bigg.ucsd.edu>`_
View shared metabolite, fumarate, between two models: *iAF1260* and *iML1515* available from `BiGG <http://bigg.ucsd.edu>`_

.. code-block:: console
Expand Down
8 changes: 4 additions & 4 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Usage
Installation
------------

To use neo4jsbml, first install it using conda:
With conda:

.. code-block:: console
Expand All @@ -15,7 +15,7 @@ Principles

Import data from SBML into the Neo4j database is conducted in several steps:

1. Define your schema with `Arrows <https://arrows.app>`_ and download the schema at the JSON format
1. Define your schema with `Arrows <https://arrows.app>`_ and download the schema at the ``JSON`` format
2. Import your data into Neo4j


Expand All @@ -41,7 +41,7 @@ Configure access to Neo4j

The connection to the Neo4j database needs to have several parameters defined:

* protocol: ``neo4j`` or ``bolt`` (default: ``neo4j``)
* protocol: ``neo4j``, ``neo4j+s``, ``neo4j+ssc``, ``bolt``, ``bolt+s``, ``bolt+ssc`` (default: ``neo4j``)
* url (default: ``localhost``)
* port (default: ``7687``)
* user name (default: ``neo4j``)
Expand Down Expand Up @@ -98,7 +98,7 @@ Command line
~~~~~~~~~~~~
To import your data with ``neo4jsbml`` into Neo4j, you will need:
1. the database parameters
2. the ``SBML`` file, the model
2. the ``SBML`` file, e.g. the model
3. the ``JSON`` file downloaded from `arrows <https://arrows.app>`_

.. code-block:: console
Expand Down
2 changes: 1 addition & 1 deletion src/neo4jsbml/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def from_config(cls, path: str) -> "Connect"
create a Connect from an .ini file
"""

PROTOCOLS = ["neo4j", "bolt"]
PROTOCOLS = ["neo4j", "neo4j+s", "neo4j+ssc", "bolt", "bolt+s", "bolt+ssc"]

def __init__(
self,
Expand Down

0 comments on commit 2b5fc55

Please sign in to comment.