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

New parameters in SimulationConfig #192

Merged
merged 3 commits into from
Apr 8, 2022
Merged

New parameters in SimulationConfig #192

merged 3 commits into from
Apr 8, 2022

Conversation

WeinaJi
Copy link
Collaborator

@WeinaJi WeinaJi commented Apr 6, 2022

  • Parse floating point with type "double" to align with parser "nlohmann::json"
  • Parse variables in "manifest" section and apply them to the configuration file
  • Parse "network" parameter for the path of circuit_config file

@WeinaJi WeinaJi force-pushed the weji/simconf_manifest branch from 6606b49 to ce686c6 Compare April 6, 2022 10:18
@WeinaJi WeinaJi marked this pull request as ready for review April 6, 2022 10:19
src/config.cpp Outdated Show resolved Hide resolved
WeinaJi added 2 commits April 8, 2022 09:39
- Parse floating point with type "double" to align with parser "nlohmann::json"
- Parse variables in "manifest" section and apply them to the configuration file
- Parse "network" parameter for the path of circuit_config file
    - unify the parsing function for manifest
    - add one unittest for manifest and network
@WeinaJi WeinaJi force-pushed the weji/simconf_manifest branch from ce686c6 to 70feb1c Compare April 8, 2022 08:25
@mgeplf
Copy link
Contributor

mgeplf commented Apr 8, 2022

Looks reasonable to me, if @NadirRoGue is good, we'll merge it.

@NadirRoGue
Copy link
Contributor

Looks good to me as well, thanks!

Copy link
Contributor

@mgeplf mgeplf left a comment

Choose a reason for hiding this comment

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

Thanks!

@WeinaJi
Copy link
Collaborator Author

WeinaJi commented Apr 8, 2022

Thanks, @mgeplf @NadirRoGue . Can you merge this PR ? I don't have the permission.

@mgeplf mgeplf merged commit 3ca8afc into master Apr 8, 2022
@mgeplf mgeplf deleted the weji/simconf_manifest branch April 8, 2022 09:56
@mgeplf
Copy link
Contributor

mgeplf commented Apr 8, 2022

Done, thanks. I will make a release in a bit

@WeinaJi WeinaJi linked an issue Apr 8, 2022 that may be closed by this pull request
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.

manage manifest in simulation config
5 participants