-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from OSeMOSYS/develop
General Development Updates
- Loading branch information
Showing
124 changed files
with
4,569 additions
and
1,196 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Python build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu-latest] | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
|
||
- name: checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install cartopy dependencies | ||
run: sudo apt-get -y install libgeos-dev | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
pip install -e . | ||
- name: Test with pytest | ||
run: | | ||
tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "OSeMOSYS_GNU_MathProg"] | ||
path = resources/OSeMOSYS_GNU_MathProg | ||
url = https://github.com/OSeMOSYS/OSeMOSYS_GNU_MathProg | ||
[submodule "simplicity"] | ||
path = resources/simplicity | ||
url = https://github.com/OSeMOSYS/simplicity |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env python | ||
python workflow/scripts/osemosys_global/dashboard/app.py |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
osemosys\_global.dashboard.components package | ||
============================================= | ||
|
||
Submodules | ||
---------- | ||
|
||
osemosys\_global.dashboard.components.ids module | ||
------------------------------------------------ | ||
|
||
.. automodule:: osemosys_global.dashboard.components.ids | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.components.input\_data\_tab module | ||
------------------------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components.input_data_tab | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.components.map\_tab module | ||
----------------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components.map_tab | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.components.options\_tab module | ||
--------------------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components.options_tab | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.components.result\_data\_tab module | ||
-------------------------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components.result_data_tab | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.components.shared module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components.shared | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.components.transmission\_tab module | ||
-------------------------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components.transmission_tab | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.components | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
osemosys\_global.dashboard package | ||
================================== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
osemosys_global.dashboard.components | ||
|
||
Submodules | ||
---------- | ||
|
||
osemosys\_global.dashboard.app module | ||
------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.app | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.constants module | ||
------------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.constants | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
osemosys\_global.dashboard.utils module | ||
--------------------------------------- | ||
|
||
.. automodule:: osemosys_global.dashboard.utils | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: osemosys_global.dashboard | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.