diff --git a/src/Express.jl b/src/Express.jl index 20fe1e8c..74ef3e59 100644 --- a/src/Express.jl +++ b/src/Express.jl @@ -7,7 +7,8 @@ import Unitful import Configurations: convert_to_option -myuparse(str::AbstractString) = uparse(str; unit_context = Unitful.unitmodules) +myuparse(str::AbstractString) = + uparse(filter(!isspace, str); unit_context = Unitful.unitmodules) abstract type Calculation end abstract type ElectronicStructure <: Calculation end