Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhanson committed Nov 1, 2018
2 parents 73243ab + 5906db8 commit 9ed8423
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
18 changes: 18 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,21 @@

0.1.0:
- initial release (for legacy sat-api: http://github.com/sat-utils/sat-api.git)



# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]


## [v0.1.0] - 2018-10-25

Initial Release

[Unreleased]: https://github.com/sat-utils/sat-api/compare/0.1.0...HEAD
[v0.1.0]: https://github.com/sat-utils/sat-api/tree/0.1.0
2 changes: 1 addition & 1 deletion satsearch/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def __delitem__(self, index):

def dates(self):
""" Get sorted list of dates for all scenes """
return sorted([s.date for s in self.scenes])
return sorted(list(set([s.date for s in self.scenes])))

def collections(self):
""" Get collection records for this list of scenes """
Expand Down
2 changes: 1 addition & 1 deletion satsearch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.0rc2'
__version__ = '0.1.0b1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
dependency_links = [x.strip().replace('git+', '') for x in all_reqs if 'git+' not in x]

setup(
name='satsearch',
name='sat-search',
author='Matthew Hanson (matthewhanson)',
author_email='[email protected]',
version=__version__,
Expand Down
2 changes: 1 addition & 1 deletion test/test_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_dates(self):
""" Get dates of all scenes """
scenes = self.load_scenes()
dates = scenes.dates()
self.assertEqual(len(dates), 2)
self.assertEqual(len(dates), 1)

def test_text_calendar(self):
""" Get calendar """
Expand Down

0 comments on commit 9ed8423

Please sign in to comment.