Append `model` to `cmodel` where `cmodel` is a pre-existing community model with `exchange_rxn_ids` and
`exchange_met_ids`. If an objective function has already been assigned then supply its column index in `objective_col`
and the metabolites used by the objective in `objective_rows` as well as the weight to assign the new
"""
function Base.append!(
function Base.push!(
cmodel::CoreModel,
model::M,
exchange_met_ids::Vector{String},
exchange_rxn_ids::Vector{String},
exchange_met_ids::Vector{String};
species_name="",
objective_ind=0,
species_name,
has_biomass_objective;
biomass_id="",
)where{M<:MetabolicModel}
cmI,cmJ,cmV=findnz(cmodel)
mI,mJ,mV=findnz(model)
ifhas_biomass_objective&&biomass_id==""
throw(DomainError("Argument required.","The community uses a biomass objective function, please supply the objective id of the model you want to add."))