Auto_groups populating SBATCH account parameter

The auto_groups form option (v 4.0.3) sends the auto_groups value to the SBATCH --account parameter which fails on our cluster. Is there a way to have the auto_groups key be something other than account?
sbatch: error: **WARNING** account = my_group_selected

No, but you could supply a patch through an initializer like so. It’ll redefine the behaviour of this class so that it doesn’t do anything when the form submits.

Rails.application.config.after_initialize do

  module SmartAttributes
    module Attributes
      class AutoGroups < Attribute
        def submit(*)
          # do nothing when submitting the form.
        end
      end
    end
  end

end

Thanks, we’ll just stick with the code that inspired auto_groups