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

Refactor RustCycle constructors #75

Merged
merged 8 commits into from
Dec 4, 2023
Merged

Conversation

kylecarow
Copy link
Collaborator

@kylecarow kylecarow commented Nov 29, 2023

  • Remove RustCycle::new and RustCycle.__new__
  • to_/from_ PyDict methods
  • Impl To/From HashMap (ignores name field)

@kylecarow kylecarow marked this pull request as ready for review November 30, 2023 03:11
@@ -226,13 +227,14 @@ pub fn main() -> anyhow::Result<()> {
RustCycle::from_file(adopt_hd_string)
} else {
//TODO? use pathbuff to string, for robustness
Copy link
Collaborator

Choose a reason for hiding this comment

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

@kylecarow , is this comment deprecated here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure, that's leftover from Andrew Guttman. I think we could delete the TODO.

@kylecarow
Copy link
Collaborator Author

@calbaker This is ready to merge BTW

@calbaker calbaker merged commit 8ab54b7 into fastsim-2 Dec 4, 2023
3 checks passed
@calbaker calbaker deleted the refactor-cycle-constructor branch December 4, 2023 21:12
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.

2 participants