Skip to content
Snippets Groups Projects
Commit c6a13891 authored by Martin Gels's avatar Martin Gels
Browse files

bug 1005: Define key 'nrBeams' when it is not in the parset.

parent dcb87f22
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,10 @@ class Parset(LOFAR_Parset.Parset):
for s in subbandList:
subbands.add(s)
index +=1
if not self.isDefined('Observation.nrBeams'):
self['Observation.nrBeams'] = index
return len(subbands)
def getStationNamesAndRSPboardNumbers(self, psetNumber):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment