diff --git a/jdaviz/app.py b/jdaviz/app.py index 50701f4feb..8fda698e67 100644 --- a/jdaviz/app.py +++ b/jdaviz/app.py @@ -495,7 +495,6 @@ def load_data(self, file_obj, parser_reference=None, **kwargs): """ self.loading = True - try: try: # Properly form path and check if a valid file @@ -519,7 +518,6 @@ def load_data(self, file_obj, parser_reference=None, **kwargs): data = self.state.settings.get('data', None) if parser_reference: parser = data_parser_registry.members.get(parser_reference) - elif data and isinstance(data, dict): data_parser = data.get('parser', None) if data_parser: