Skip to content

Commit

Permalink
Merge pull request #124 from lanl/runTable_and_unitTable
Browse files Browse the repository at this point in the history
Run table and unit table
  • Loading branch information
jpulidojr authored Nov 17, 2024
2 parents b9e691b + 123c851 commit e7b0c79
Show file tree
Hide file tree
Showing 13 changed files with 614 additions and 482 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_file_reader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip install graphviz
- name: Test reader
run: |
pip install pytest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test_file_writer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
python -m pip install opencv-python
pip install .
pip install graphviz
sudo apt-get install graphviz
- name: Test reader
run: |
pip install pytest
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/test_plugin.yml

This file was deleted.

5 changes: 3 additions & 2 deletions dsi/backends/parquet.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import pyarrow as pa
from pyarrow import parquet as pq
import nbconvert as nbc
import nbformat as nbf
import subprocess

from dsi.backends.filesystem import Filesystem
Expand Down Expand Up @@ -46,6 +44,9 @@ def get_cmd_output(cmd: list) -> str:
return proc.stdout.strip().decode("utf-8")

def inspect_artifacts(self, collection, interactive=False):
import nbconvert as nbc
import nbformat as nbf

"""Populate a Jupyter notebook with tools required to look at Parquet data."""
nb = nbf.v4.new_notebook()
text = """\
Expand Down
Loading

0 comments on commit e7b0c79

Please sign in to comment.