Skip to content

Commit

Permalink
Version number updates (#166)
Browse files Browse the repository at this point in the history
* Change terminology to match semantic versioning
* Don't hard-code version number in test (closes #154)
  • Loading branch information
wtgee authored and jamessynge committed Dec 4, 2017
1 parent 6840576 commit 6b3929e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pocs/tests/test_observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from pocs.scheduler.dispatch import Scheduler
from pocs.scheduler.observation import Observation
from pocs.utils import error
from pocs.version import version

has_camera = pytest.mark.skipif(
not pytest.config.getoption("--camera"),
Expand Down Expand Up @@ -168,7 +169,7 @@ def test_standard_headers(observatory):

test_headers = {
'airmass': 1.091778,
'creator': 'POCSv0.5.1',
'creator': 'POCSv{}'.format(version),
'elevation': 3400.0,
'ha_mnt': 1.6844671878927793,
'latitude': 19.54,
Expand Down
5 changes: 2 additions & 3 deletions pocs/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# this file was automatically generated
major = 0
minor = 5
release = 1
patch = 1

version = '{}.{}.{}'.format(major, minor, release)
version = '{}.{}.{}'.format(major, minor, patch)

0 comments on commit 6b3929e

Please sign in to comment.