You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following command shows how to use [markdown-link-check](https://github.com/tcort/markdown-link-check) to for example check the links in the [README.md](./README.md) file:
The manual setup is only documented for completeness. It isn't needed since the analysis also covers download, installation and configuration of all needed tools.
@@ -141,7 +193,7 @@ It runs the script with a temporary `NEO4J_HOME` environment variable to not int
141
193
142
194
### Setup jQAssistant Java Code Analyzer
143
195
144
-
Use [setupJQAssistant.sh](./scripts/setupJQAssistant.sh) to download [jQAssistant](https://jqassistant.org/get-started).
196
+
Use [setupJQAssistant.sh](./scripts/setupJQAssistant.sh) to download [jQAssistant](https://jqassistant.github.io/jqassistant/doc).
145
197
146
198
### Download Maven Artifacts to analyze
147
199
@@ -200,7 +252,7 @@ Query parameters can be added as arguments after the file name. Here is an examp
[Jupyter Notebooks](https://jupyter.org) can have additional custom tags within their [metadata section](https://ipython.readthedocs.io/en/3.x/notebook/nbformat.html#metadata). Opening these files with a text editor unveils that typically at the end of the file. Some editors also support editing them directly. Here, the optional metadata property `code_graph_analysis_pipeline_data_validation` is used to specify which data validation query in the [cypher/Validation](./cypher/Validation/) directory should be used. Without this property, the data validation step is skipped. If a validation is specified, it will be executed before the Jupyter Notebook is executed. If the query has at least one result, the validation is seen as successful. Otherwise, the Jupyter Notebook will not be executed.
293
+
294
+
This is helpful for Jupyter Notebook reports that are specific to a programming language or other specific data prerequisites. The Notebook will be skipped if there is no data available which would otherwise lead to confusing and distracting reports with empty tables and figures.
295
+
296
+
You can search the messages `Validation succeeded` or `Validation failed` inside the log to get detailed information which Notebook had been skipped for which reason.
297
+
298
+
### Execute a Notebook with executeJupyterNotebook.sh
299
+
300
+
[executeJupyterNotebook.sh](./scripts/executeJupyterNotebook.sh) executes a Jupyter Notebook in the command line and convert it to different formats like Markdown and PDF (optionally). It takes care of [setting up the environment](#manually-setup-the-environment-using-conda) and [uses nbconvert](#executing-jupyter-notebooks-with-nbconvert) to execute the notebook and convert it to other file formats under the hood.
301
+
302
+
Here is an example on how to use [executeJupyterNotebook.sh](./scripts/executeJupyterNotebook.sh) to for example run [Wordcloud.ipynb](./jupyter/Wordcloud.ipynb):
[Conda](https://conda.io) provides package, dependency, and environment management for any language. Here, it is used to setup the environment for Juypter Notebooks.
225
311
226
312
- Setup environment
227
313
@@ -230,10 +316,10 @@ Use [stopNeo4j.sh](./scripts/stopNeo4j.sh) to stop the locally running Neo4j Gra
230
316
conda activate codegraph
231
317
```
232
318
233
-
or by using the environment file [codegraph-environment.yml](./jupyter/codegraph-environment.yml):
319
+
or by using the environment file [codegraph-environment.yml](./jupyter/environment.yml):
[nbconvert](https://nbconvert.readthedocs.io) converts Jupyter Notebooks to other static formats including HTML, LaTeX, PDF, Markdown, reStructuredText, and more.
341
+
252
342
- Install pandoc used by nbconvert for LaTeX support (Mac)
253
343
254
344
```shell
@@ -273,23 +363,19 @@ Use [stopNeo4j.sh](./scripts/stopNeo4j.sh) to stop the locally running Neo4j Gra
273
363
jupyter nbconvert --to pdf ./jupyter/first-neo4j-tryout.nbconvert.ipynb
274
364
```
275
365
276
-
- Shell script to execute and convert a Jupyter notebook file
277
-
278
-
Use [executeJupyterNotebook.sh](./scripts/executeJupyterNotebook.sh) like this:
Copy file name to clipboardExpand all lines: GETTING_STARTED.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ For more details on how the commands work in detail see [COMMANDS](./COMMANDS.md
6
6
7
7
## 🛠 Prerequisites
8
8
9
-
Please read through the [Prerequisites](./README.md#🛠-prerequisites) in the [README](./README.md) file for what is required to run the scripts.
9
+
Please read through the [Prerequisites](./README.md#hammer_and_wrench-prerequisites) in the [README](./README.md) file for what is required to run the scripts.
10
10
11
11
## Start an analysis
12
12
@@ -44,7 +44,7 @@ Please read through the [Prerequisites](./README.md#🛠-prerequisites) in the [
0 commit comments