message: egrid-data-loader - only import valid utility identifier files
diff: @@ -389,6 +389,7 @@ function import_utility_emissions(file_name, opts) {
  function import_utility_identifiers(file_name, opts) {
  opts.skip_rows = 1;
  + if (opts.file == "Utility_Data_2019.xlsx") {
  let data = parse_worksheet(file_name, opts, function(data) {
  // import data for each valid row, eg:
  // Utility_Number = value from 'Utility Number'
  @@ -423,6 +424,9 @@ function import_utility_identifiers(file_name, opts) {
  invokeChaincode("importUtilityIdentifier", args, callback);
  });
  });
  + } else {
  + console.log("This sheet or PDF is not currently supported.");
  + }
  }
  function get_co2_emissions(utility, thru_date, usage, usage_uom, opts) {
  