Skip to content

Commit 78b0518

Browse files
hwpangmjohnson541
authored andcommitted
remove typing for dictionary for RMG-Py compatability
1 parent 22ef99d commit 78b0518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Species.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct Species{T<:AbstractThermo,N<:AbstractDiffusivity,N1<:AbstractHenryLawCons
1212
smiles::String
1313
adjlist::String
1414
thermo::T
15-
atomnums::Dict{String,Int64}
15+
atomnums::Dict
1616
bondnum::Int64
1717
diffusion::N
1818
radius::Float64
@@ -26,7 +26,7 @@ struct Species{T<:AbstractThermo,N<:AbstractDiffusivity,N1<:AbstractHenryLawCons
2626
end
2727

2828
function Species(; name::String, index::Integer, inchi::String="", smiles::String="", adjlist::String="",
29-
thermo::T=nothing, atomnums::Dict{String,Int64}=Dict{String,Int64}(), bondnum::Int64=-1, diffusion::N=EmptyDiffusivity(),
29+
thermo::T=nothing, atomnums::Dict=Dict(), bondnum::Int64=-1, diffusion::N=EmptyDiffusivity(),
3030
radius::Float64=0.0, radicalelectrons::Int64=-100, molecularweight::Float64=0.0,
3131
henrylawconstant::N1=EmptyHenryLawConstant(),
3232
liquidvolumetricmasstransfercoefficient::N2=EmptyLiquidVolumetricMassTransferCoefficient(),

0 commit comments

Comments
 (0)