You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't warn when env vars DATAPATH, CYCLEFOLD_DATAPATH already set correctly
Currently we warn in __init__() if these env vars are already set. Don't warn if they are already set to what we would want to set them anyway.
This avoids unnecessary warnings, for example when running the tests after the package has already been loaded with using.
Accidentally overriding DATAPATH, CYCLEFOLD_DATAPATH should be harder
If DATAPATH or CYCLEFOLD_DATAPATH are already set, e.g. because another RNAstructure version has been installed on the system independently of julia, and these env vars are set in .bashrc, then this package will nearly silently (it will issue an @info, nothing more) use the wrong parameters.
Solution: use RNASTRUCTURE_JLL_DATAPATH, RNASTRUCTURE_JLL_CYCLEFOLD_DATAPATH env vars to override these vars in this package.
The text was updated successfully, but these errors were encountered:
marcom
changed the title
Don't warn when env vars DATAPATH, CYCLEFOLD_DATAPATH already set correctly
Better handle env vars DATAPATH, CYCLEFOLD_DATAPATH if already set correctly or when overriding
Jan 17, 2024
Always ensure the DATAPATH, CYCLEFOLD_DATAPATH env vars are pointing
to the correct path from the `RNAstructure_jll` binary package.
These paths can be overridden with the RNASTRUCTURE_JL_DATAPATH,
RNASTRUCTURE_JLCYCLEFOLD_DATAPATH env vars if necessary.
Don't warn if the DATAPATH, CYCLEFOLD_DATAPATH env vars are already
set to the correct directories. This avoids unnecessary warnings when
running the tests.
Fixes#4.
Improve overriding energy parameter dirs via env vars
Always ensure the DATAPATH, CYCLEFOLD_DATAPATH env vars are pointing
to the correct path from the `RNAstructure_jll` binary package.
These paths can be overridden with the RNASTRUCTURE_JL_DATAPATH,
RNASTRUCTURE_JLCYCLEFOLD_DATAPATH env vars if necessary.
Don't warn if the DATAPATH, CYCLEFOLD_DATAPATH env vars are already
set to the correct directories. This avoids unnecessary warnings when
running the tests.
Fixes#4.
Don't warn when env vars DATAPATH, CYCLEFOLD_DATAPATH already set correctly
Currently we warn in
__init__()
if these env vars are already set. Don't warn if they are already set to what we would want to set them anyway.This avoids unnecessary warnings, for example when running the tests after the package has already been loaded with
using
.Accidentally overriding DATAPATH, CYCLEFOLD_DATAPATH should be harder
If DATAPATH or CYCLEFOLD_DATAPATH are already set, e.g. because another RNAstructure version has been installed on the system independently of julia, and these env vars are set in .bashrc, then this package will nearly silently (it will issue an
@info
, nothing more) use the wrong parameters.Solution: use RNASTRUCTURE_JLL_DATAPATH, RNASTRUCTURE_JLL_CYCLEFOLD_DATAPATH env vars to override these vars in this package.
The text was updated successfully, but these errors were encountered: