Skip to content

Commit

Permalink
SUPPORTED_VERSIONS rm
Browse files Browse the repository at this point in the history
  • Loading branch information
ivborissov committed Aug 16, 2024
1 parent 855ead9 commit 026c0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HetaSimulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module HetaSimulator

# heta-compiler supported version
const HETA_COMPILER_VERSION = "0.8.6"
const SUPPORTED_VERSIONS = ["0.8.4", "0.8.5", "0.8.6"]
#const SUPPORTED_VERSIONS = ["0.8.4", "0.8.5", "0.8.6"]

function heta_compiler_load()
artifact_info = artifact_meta("heta_app", joinpath(@__DIR__, "..", "Artifacts.toml"))
Expand Down
2 changes: 1 addition & 1 deletion src/import_platform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function Platform(
version::String
)
# TODO: semver approach might be better
@assert version in SUPPORTED_VERSIONS "The model was build with Heta compiler \"$version\". This version is not supported by HetaSimulator. Please, re-build the model with HetaSimulator load_platform()"
# @assert version in SUPPORTED_VERSIONS "The model was build with Heta compiler \"$version\". This version is not supported by HetaSimulator. Please, re-build the model with HetaSimulator load_platform()"

print("Loading platform... ")
model_pairs = [pair[1] => Model(pair[2]...) for pair in pairs(models)]
Expand Down

0 comments on commit 026c0da

Please sign in to comment.