Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.4%) to scientific vocabulary
Repository
tethysext-atcore
Basic Info
- Host: GitHub
- Owner: Aquaveo
- License: bsd-3-clause
- Language: Python
- Default Branch: master
- Size: 7.42 MB
Statistics
- Stars: 5
- Watchers: 7
- Forks: 3
- Open Issues: 2
- Releases: 73
Metadata Files
README.md
Status
| Job | Status | Coverage |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| Build Status | |
|
| Lint Status |
| |
| Unit Tests |
|
|
| Integration Tests |
|
|
Installs
OS Dependencies
bash
$ sudo apt update
$ sudo apt install gcc libgdal-dev g++ libhdf5-dev
Activate tethys environment
bash
conda activate tethys
Install for Development:
Run the following command from the same directory as the setup.py
bash
$ tethys install -d
Install for Production:
Run the following command from the same directory as the setup.py
bash
$ tethys install
settings.py
Add the following to INSTALLED_APPS in your settings.py (tethys/tethys_portal/settings.py):
python
'datetimewidget',
'django_select2',
'taggit',
Testing
This extension has two types of tests: unit tests and integrated tests.
Setup
Some of the tests require a test database. The database must be a PostgreSQL 9.6 or higher with the postgis extension intalled. Create an empty database before hand. The default database connection string is:
bash
'postgresql://tethys_super:pass@172.17.0.1:5435/atcore_tests'
To specify a custom database connection string, define the ATCORE_TEST_DATABASE environment variable:
bash
export ATCORE_TEST_DATABASE="postgresql://<username>:<password>@<ipaddress>:<port>/<dbname>"
Running the Tests
To run unit tests:
bash
$ coverage run --rcfile=coverage.ini -m unittest -v tethysext.atcore.tests.unit_tests
$ coverage report
To run integrated tests, install extension in existing installation of Tethys and run:
bash
$ t
$ coverage run --rcfile=coverage.ini <TETHYS_HOME>/src/manage.py test tethysext.atcore.tests.integrated_tests
$ coverage report
Linting
We are using flake8 to enforce the pep 8 standard. Any change to the rules can be made in the tox.ini file.
bash
$ flake8 [dir]
Run All Tests
To run all of the test and linting with cumulative coverage:
bash
. test.sh </path/to/tethys/manage.py>
Minify Scripts
The minified scripts were minified using the harmony branch of uglify-js. For example:
bash
sudo apt install npm
sudo npm install -g mishoo/UglifyJS2#harmony
uglifyjs --compress --mangle -- input.js > input.min.js
Owner
- Name: Aquaveo
- Login: Aquaveo
- Kind: organization
- Email: it@aquaveo.com
- Location: Provo
- Website: aquaveo.com
- Repositories: 38
- Profile: https://github.com/Aquaveo
Citation (CITATION.cff)
cff-version: 1.11 message: "If you use this software, please cite it as below." authors: - family-names: "Swain" given-names: "Nathan R." orcid: "https://orcid.org/0000-0002-4741-3828" - family-names: "Larsen" given-names: "Gage" - family-names: "Souffront" given-names: "Michael" - family-names: "Tran" given-names: "Hoang" title: "tethysext-atcore" version: 0.11.1 doi: 10.5281/zenodo.5527218 date-released: 2021-09-24 url: "https://github.com/Aquaveo/tethysext-atcore"
GitHub Events
Total
- Release event: 5
- Delete event: 9
- Issue comment event: 3
- Push event: 42
- Pull request review comment event: 2
- Pull request review event: 19
- Pull request event: 31
- Fork event: 2
- Create event: 22
Last Year
- Release event: 5
- Delete event: 9
- Issue comment event: 3
- Push event: 42
- Pull request review comment event: 2
- Pull request review event: 19
- Pull request event: 31
- Fork event: 2
- Create event: 22
Dependencies
- WyriHaximus/github-action-helm3 v1.0.0 composite
- WyriHaximus/github-action-helm3 v2 composite
- actions/checkout v2 composite
- ad-m/github-push-action master composite
- actions/checkout v2 composite
- aevea/action-kaniko v0.6.1 composite
- postgis/postgis 12-2.5 docker
- actions/checkout v2 composite
- aevea/action-kaniko v0.6.1 composite
- tethysplatform/tethys-core dev build