Commit a9bc8f6e authored by Ambra Di Piano's avatar Ambra Di Piano
Browse files

add mapper plot setting

parent 6db35cab
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -67,11 +67,12 @@ class CheckConfiguration():
        return self
    
    def check_mapper(self):
        keys = ['exposure', 'smooth', 'center', 'region', 'output']
        keys = ['exposure', 'smooth', 'center', 'plot', 'region', 'output']
        assert self.conf['mapper'].keys() == keys
        assert type(self.conf['mapper']['exposure']) == int
        assert type(self.conf['mapper']['smooth']) == (float or int)
        assert type(self.conf['mapper']['center']) in ['pointing', 'source'] 
        assert type(self.conf['mapper']['plot']) == bool
        assert type(self.conf['mapper']['region']) == bool
        assert type(self.conf['mapper']['output']) == str
        return self
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ mapper:
  exposure: 10
  smooth: 1
  center: pointing
  plot: false
  region: false
  output: /data01/homes/dipiano/astroRT/astrort/testing/tmp