Skip to content

Commit

Permalink
Disu as graph (modflowpy#58)
Browse files Browse the repository at this point in the history
* Show that it's possible to store a CSR matrix in an XArray Dataset

The test checks that it can restore the graph after saving it in CSR format.
Also added a dense test that takes simple numpy arrays.

* Auto-format and organize imports via ruff on save
  • Loading branch information
deltamarnix authored Dec 10, 2024
1 parent d1ac9ee commit b278c8e
Show file tree
Hide file tree
Showing 4 changed files with 721 additions and 43 deletions.
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
"test"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
"python.testing.pytestEnabled": true,
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
}
}
Loading

0 comments on commit b278c8e

Please sign in to comment.