Skip to content

Commit

Permalink
run autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed Nov 8, 2016
1 parent 4adbea9 commit b070a24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/lsst/obs/base/cameraMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def __init__(self, policy, repositoryDir,
calMappingPolicy = dafPersist.Policy(dafPersist.Policy.defaultPolicyFile(
"obs_base", "CalibrationMappingDictionary.paf", "policy"))
dsMappingPolicy = dafPersist.Policy(dafPersist.Policy.defaultPolicyFile(
"obs_base", "DatasetMappingDictionary.paf", "policy"))
"obs_base", "DatasetMappingDictionary.paf", "policy"))

# Dict of valid keys and their value types
self.keyDict = dict()
Expand Down
4 changes: 0 additions & 4 deletions tests/testComposite.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ def setUp(self):
del butler
del repoArgs



def tearDown(self):
if os.path.exists(self.testData):
shutil.rmtree(self.testData)
Expand Down Expand Up @@ -119,8 +117,6 @@ def testType3GetAndPut(self):
os.path.join(secondRepoPath, 'basic', 'namebar.pickle')))
del butler



def testDottedDatasetType(self):
"""Verify that components of a composite can be loaded by dotted name in the form
DatasetType.componentName
Expand Down
1 change: 1 addition & 0 deletions tests/testMakeRawVisitInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@


class SimpleMakeRawVisitInfo(MakeRawVisitInfo):

def getDateAvg(self, md, exposureTime):
"""Return date at the middle of the exposure"""
dateObs = self.popIsoDate(md, "DATE-OBS")
Expand Down

0 comments on commit b070a24

Please sign in to comment.