Skip to content

Commit

Permalink
upper config type tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Nation committed Jun 12, 2019
1 parent 2040598 commit 56b6448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion observation_portal/common/configdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def get_configuration_type_tuples(self):
configuration_types = set()
for instrument in self.get_instruments():
for config_type in instrument['science_camera']['camera_type']['configuration_types']:
configuration_types.add(config_type)
configuration_types.add(config_type.upper())
return [(config_type, config_type) for config_type in configuration_types]

def get_instruments_at_location(self, site_code, enclosure_code, telescope_code, only_schedulable=False):
Expand Down

0 comments on commit 56b6448

Please sign in to comment.