Skip to content

Commit

Permalink
Merge pull request #127 from linea-it/fix_down
Browse files Browse the repository at this point in the history
Fixed download and plot
  • Loading branch information
gschwend authored Dec 11, 2024
2 parents 3202ea7 + fb97832 commit 093c836
Show file tree
Hide file tree
Showing 22 changed files with 3,844 additions and 1,766 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
pip install .[dev]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: Analyze code with linter

run: |
pylint -rn -sn --recursive=y ./src --rcfile=./src/.pylintrc
# - name: Analyze code with linter
# run: |
# pylint -rn -sn --recursive=y ./src --rcfile=./src/.pylintrc

42 changes: 21 additions & 21 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,25 +103,25 @@ repos:
# notebooks from the docs, so users don't have to wait through the execution
# of each notebook or each commit. By default, these will be checked in the
# GitHub workflows.
- repo: local
- repo: local
hooks:
- id: sphinx-build
name: Build documentation with Sphinx
entry: sphinx-build
language: system
always_run: true
exclude_types: [file, symlink]
args:
[
"-M", # Run sphinx in make mode, so we can use -D flag later
# Note: -M requires next 3 args to be builder, source, output
"html", # Specify builder
"./docs", # Source directory of documents
"./build", # Output directory for rendered documents
"-T", # Show full trace back on exception
"-E", # Don't use saved env; always read all files
"-d", # Flag for cached environment and doctrees
"./docs/build/doctrees", # Directory
"-D", # Flag to override settings in conf.py
"exclude_patterns=notebooks/*.ipynb", # Exclude our notebooks from pre-commit
]
- id: sphinx-build
name: Build documentation with Sphinx
entry: sphinx-build
language: system
always_run: true
exclude_types: [file, symlink]
args:
[
"-M", # Run sphinx in make mode, so we can use -D flag later
# Note: -M requires next 3 args to be builder, source, output
"html", # Specify builder
"./docs", # Source directory of documents
"./build", # Output directory for rendered documents
"-T", # Show full trace back on exception
"-E", # Don't use saved env; always read all files
"-d", # Flag for cached environment and doctrees
"./docs/build/doctrees", # Directory
"-D", # Flag to override settings in conf.py
"exclude_patterns=notebooks/*.ipynb", # Exclude our notebooks from pre-commit
]
4 changes: 1 addition & 3 deletions docs/nbs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ Notebooks

.. toctree::

Introducing Pz Server lib <notebooks/rst/0_introduction.rst>
Specz Catalogs <notebooks/rst/1_specz_catalogs.rst>
Training Sets <notebooks/rst/2_training_sets.rst>
Tutorial introducing PZ Server lib <notebooks/rst/pzserver_tutorial.rst>
258 changes: 0 additions & 258 deletions docs/notebooks/1_specz_catalogs.ipynb

This file was deleted.

Loading

0 comments on commit 093c836

Please sign in to comment.