Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix init and add install function #8

Merged
merged 1 commit into from May 24, 2023
Merged

fix init and add install function #8

merged 1 commit into from May 24, 2023

Conversation

mjohnson541
Copy link
Contributor

No description provided.

@hwpang
Copy link
Contributor

hwpang commented May 14, 2023

I think all we need to do is to remove import rms. The install function is quite outdated. If we want to put this back, we should change the way we install RMS.

from julia.api import Julia
jl = Julia(compiled_modules=False)
from julia import Pkg
Pkg.add("ReactionMechanismSimulator")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to
Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main"))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed offline and think it's better to have more frequent release of RMS and point the user to a specific version. Although I think Pkg.add("ReactionMechanismSimulator") points to a 0.3.4 but not the GitHub release 0.4.0.

import os
import subprocess

script_dir = os.path.dirname(os.path.realpath(__file__))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is used anywhere

Copy link
Contributor

@hwpang hwpang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hwpang hwpang merged commit e06b7d4 into main May 24, 2023
@hwpang hwpang deleted the fix branch May 24, 2023 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants